Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testing field data
Message
From
21/07/2001 08:17:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00533453
Message ID:
00533496
Views:
10
>I frequently have to do tests to see if a field is blank. Sometimes I can do this with a test for field = "". But. frequently, this test does not return correctly. Even if the field is blank it returns F. So then I have to test against len(alltrim(field)) < 1. This always works.
>
>What am I missing on the first test or should I just stick with len(alltrim)
>
>Dennis
Dennis,
Use empty() or field==""
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