>Hi all,
> I'm looking for a relatively easy way to identify if a character field contains only numbers. My application is testing for valid/real postal addresses and one of the checks I'd like to make is if the field contains nothing but numerical data. Can anyone point the way?
>TIA,
>Pete Adams
Try:
empty(alltrim(Chrtran(mystring,"1234567890"," ")))
Returns .T. if all numbers
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao