Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I want to remove all field captins from my database...
Message
De
23/06/1999 13:30:38
 
 
À
22/06/1999 17:35:12
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:
00233075
Vues:
26
Hi Doug;

Thats actually what I did, except I did it once for every table.

use data\dbf
for x=1 to afields
dbsetprop
endfor

then repeat.

The reason I say this is because SFQuery and other things take their captions from the database, and we wanted to take it form our captions.dbf. And I think you changed that while you where here but i've updated since then it overwrote. So to change it back should I just search in the class browser for dbgetprop and dbcxgetprop then change them to oApp.GetCaptions?

Thanks
Mike Helland

>
>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