View Full Version : Convert text to numbers for queries only


pstevens
04-15-2002, 08:48 AM
I have lab values that are stored as text but look like numbers. I want to find all lab values less than 5, but I'm getting "10" etc. because it's text.

How can I make my query think the text are numbers so the query will work correctly. I'm connected via an ODBC connection so I can't change the actual table structure.

Thanks,
Pam

Jack Cowley
04-15-2002, 09:51 AM
Search help for the Val() function.

pstevens
04-15-2002, 10:30 AM
Thank You!!! That did the trick.

Pam