Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want to remove all field captins from my database...
Message
From
24/06/1999 12:33:32
 
 
To
23/06/1999 13:30:38
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00232619
Message ID:
00233551
Views:
25
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform