devxlogo

Searching Numerical Fields

Searching Numerical Fields

Question:
What it’s the correct SQl Statement to search an access database by a numeric field? I keep getting an invalid type error when I try to run the application.

Answer:
Don’t enclose your numeric criteria in quotes the way you would do for text criteria. That’s probably what you are doing, and that would be causing the problem.

devx-admin

Share the Post: