Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
If empty
Message
From
16/04/2009 06:16:34
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01393914
Message ID:
01395082
Views:
60
>>>>You need to look at the actual values in these controls, particularly the EditBox. If the EditBox is linked to a Memo field, then I believe that EMPTY() is only true if value is zero-length.
>
>>>Cetin
>>
>>Cetin,
>>
>>I just tested this and a Memo field with spaces, etc., returns a false for EMPTY().
>>
>>Chris
>
>Cetin wrote
>If the EditBox is linked to a Memo field, then I believe that EMPTY() is only true if value is zero-length.
>
>You can try with
>
? EMPTY(CHRTRAN(table.memoField,CHR(13)+CHR(10)+[ ],[]))
Hi Vladimir,
A misunderstanding here. Chris wrote it and I said it wasn't true:) I was referring to code piece I wrote (similar to yours) and interpreted his sentence wrong maybe.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform