dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Oct 1, 1996

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


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 Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Thanks for your registration, follow us on our social networks to keep up-to-date