General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only