stephenwales
MIS
I have a field in a Paradox table that is stored as an Alphanumeric. It was done this way so that values without a sign, and with signs, both "-" and "+" could be displayed without special code.
Values could be: 1, 5, -2, +3 etc.
Now, it's coming to bite me in the behind.
I have a user of the application who wants to be able to search for values between, say, 1 & 5. So when they do a query:
where skill >= "1" and <= "5"
they are getting values like 10, 11 & 12 returned as valid.
Is there some way to do something like:
Where StrToInt(skill) >= 1 and StrToInt(skill> <= 5 ?
I'm using Delphi 5 Professional with Paradox 7 tables on Windows XP Professional.
Thanks
Steve
Values could be: 1, 5, -2, +3 etc.
Now, it's coming to bite me in the behind.
I have a user of the application who wants to be able to search for values between, say, 1 & 5. So when they do a query:
where skill >= "1" and <= "5"
they are getting values like 10, 11 & 12 returned as valid.
Is there some way to do something like:
Where StrToInt(skill) >= 1 and StrToInt(skill> <= 5 ?
I'm using Delphi 5 Professional with Paradox 7 tables on Windows XP Professional.
Thanks
Steve