Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using the FIELD() function and REPLACE
Message
De
27/07/2000 10:48:17
 
 
À
27/07/2000 09:05:20
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00397520
Message ID:
00397590
Vues:
9
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform