Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting null field value recordsl
Message
From
30/10/2006 09:47:54
 
 
To
29/10/2006 19:15:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01165373
Message ID:
01165495
Views:
14
>>I have discovered that there are some blank fields in one of my tables.
>>
>>The numeric field in question has never had a numeric(or any other)value written to it.
>>
>>I have tried
>>
>>
>>DELETE FOR x = .null
>>
>>
>>but that code does not work for me. How can I globally mark the blank field records for deletion?
>>
>>+++ Grady ---
>
>In this case the value is not null. As others have pointed out, you can use the empty function; if the value is really NULL, you can check for isnull(...). A comparison of x = NULL will always give false, even if x is really null!

Thanks Hilmar.

+++ Grady ---
I ain't skeert of nuttin eh?
Yikes! What was that?
Previous
Reply
Map
View

Click here to load this message in the networking platform