Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mem Vars disappearing??
Message
From
09/10/1999 14:19:31
 
 
To
09/10/1999 09:58:04
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00274589
Message ID:
00274632
Views:
46
>What happens is that suddenly the foll line will give an error:
>
>IF ALLTRIM(STR(gcProduct)) == "WASTE"
>
>Will give us an error as though the value of gcProduct is no longer a string.

If gcProduct is a string, why are you calling the STR function. You may want to use UPPER(ALLTRIM(gcProduct))

Tom Molloy
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform