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

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

Actually, the "right" way to do this is to not modify any SFQuery classes, but instead subclass them. You should find that I'd sent you an ARSQuery.vcx that contains several classes such as ARSFieldCollection. This class is a subclass of SFQuery's SFFieldCollection that overwrites the GetCaption method to use your oApp.GetCaption method rather than the native behavior of getting the caption from the DBC.

If you're missing this VCX, let me know and I'll resend it to you.

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

Click here to load this message in the networking platform