>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.