Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using the FIELD() function and REPLACE
Message
From
27/07/2000 14:07:44
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:
00397762
Views:
10
Thanks to all you guys. I now have exactly what I want.

ray

>>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 #)))
Some days it's not worth chewing through the leather straps ...
Previous
Reply
Map
View

Click here to load this message in the networking platform