Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IsBlank()
Message
From
21/01/2003 19:50:21
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
21/01/2003 18:27:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00744047
Message ID:
00744090
Views:
11
>i sometimes work with long strings (i.e. to build an sql or filter command) i then check that string if it is empty with "IsBlank(StrToCheck)".
>
>i gues there is a limitation in IsBlank() since it sometimes triggers the error "string to long to fit".

For a discussion of the difference between ISBLANK(), EMPTY() and ISNULL() see http://fox.wikis.com/wc.dll?Wiki~IsNullIsBlankEmpty~VFP.

A comment on "String too long to fit" - From "Visual FoxPro System Capacities" in Help, the maximum length of a string literal is 255 characters. You can, however make a much longer string by concatenating smaller literal strings into a larger one contained in a variable. It appears that ISBLANK() has the same limit as a string literal while EMPTY() does not.
Previous
Reply
Map
View

Click here to load this message in the networking platform