>Thanks Lutz - I had tried all sorts of things in Valid, but nothing worked. I was unaware of return .f. - I appreciate your help!
John, VFP is one of the last VFP programs that was shipped with a real help.
On command line enter
HELP valid
there is a description of the return values.
I also like to point you to the help item
Format Input and Validate Data in a Text Box Sample, just enter the string in the index tab on VFP help. This also gives you an example via solutions.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]