Another easy one!
Posted on 2002-03-13
This is already my 3rd easy Q regarding Delphi in the past 3 days. For those who didn't get to see the first two, know that I haven't done any Delphi in a long time so please be easy on the laughing!
Is there some kind of equivalent function of the VB6 IsNumeric in Delphi ? For those who aren't familiar with the VB function, know that it returns a boolean value depending on if the variable is numeric or not.
dim myVar as integer
myVar = 10
if IsNumeric(myVar) then doSomeThing
I just want to validate an entry from an editbox. I don't want to try searches in a database if the entry isn't numeric.
Any hint ??