Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using the FIELD() function and REPLACE
Message
From
27/07/2000 10:48:17
 
 
To
27/07/2000 09:05:20
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00397520
Message ID:
00397590
Views:
10
>I've got a lot of tables that I want to fill with a missing data value when the entity is NULL. I really don't want to do this one column at a time. By using the FCOUNT() function I can get the number of fields, and the FIELD() function I can get the field name. How can I use this to then test if the value of column returned by FIELD() is null, and then fill it with the appropriate missing data value?
>

IF ISNULL(EVAL(FIELD(Field #)))
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform