Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stumped at()
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Stumped at()
Miscellaneous
Thread ID:
00902554
Message ID:
00902554
Views:
62
Hi, I have a table with a field last c(15)
and in a particular record Last is the text string -1.676569E+09

I want to test for a negative number so I have tried the following, both of which work
at the command line but return an error for this record when the program runs " data
type mismatch"

if atc("-",last) && " data type mismatch"
&&do something
endif
if atc("-",last) && " data type mismatch"
&&do something
endif

Does this make sense?
Thanks
Steve Elster
Next
Reply
Map
View

Click here to load this message in the networking platform