Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IsBlank()
Message
 
 
To
21/01/2003 18:41:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00744047
Message ID:
00744056
Views:
16
Michel,

It will work in SQL Server (it strips spaces before determining lenght)but not in VFP.
lcString = SPACE(1)
? LEN(lcString)  && Returns 1 but string is empty
>What my understanding, ISBLANK() is usually use against a field from a table. If you wish to detect if a string is empty, you may check LEN() function such as:
>
>
>IF LEN(lcString)=0
>   * Blank
>ENDIF
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform