Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace field with blank (space)
Message
 
 
À
27/03/2007 12:02:04
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01208793
Message ID:
01208876
Vues:
23
>Actually, it would blank the whole records. You probably wanted
>
>
>select myTable
>local lnI,laFields[1]
>afields(laFields)
>for lnI = 1 to alen(laFields,1)
>    blank fields (laFields[lnI,1]) for empty(&laFields[lnI,1])
>next
Good catch! Luckily we switched to replace with NULL before wiping all the data :)
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform