Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stonefield Report sorting field list
Message
From
05/09/2000 11:00:47
 
 
To
31/08/2000 10:22:33
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00411254
Message ID:
00412480
Views:
14
>Looping through the field collection and getting the caption from the Promatrix data dictionary and setting the caption.

I don't know Promatrix, but I think there's a better way to do this. I would subclass the sfFieldCollection class in SFQuery and change the GetCaption() method. Then, specify using this class in the cFieldCollectionClass and cFIeldCollectionLibrary in SFQuery.

>I would like after setting all the captions to order the fields by caption name within table. Any ideas?

Can't you just ASort() the collection? Or do you mean a sort like:

tablea
fielda
fieldb
fieldc
tableb
fielda
fieldb
fieldc

Then, I'd create another column in the collection, based on table + field and sort that.
Previous
Reply
Map
View

Click here to load this message in the networking platform