Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I want to remove all field captins from my database...
Message
De
22/06/1999 17:35:12
 
 
À
22/06/1999 14:23:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00232619
Message ID:
00232742
Vues:
21
Hi Mike.

>which proves to be a bit more tedious than it sounds but I'm sure it could be done with some replace statements. Would anybody know how to begin?

It's pretty straightforward code, something like:

lnTables = adbobjects(laTables, 'Table')
for lnI = 1 to lnTables
lcTable = laTables[lnI]
use (lcTable) again shared
lnFields = afields(laFields)
for lnJ = 1 to lnFields
dbsetprop(lcTable + '.' + laFields[lnJ, 1], 'Field', 'Caption', '')
next lnJ
next lnI

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform