HomeActive Query BuilderReturn a List of Columns in a Given Table...

Return a List of Columns in a Given Table...

After I've set the MetaDataProvider; is there anyway to fetch a list of all the column names for a given table? I don't care whether or not the table or column is currently being used in the Query that is being built - I just want to access the list of names regardless.
Rob | email
June 13 2008, 01:43 PM
Dear Rob,

Use the MetadataObject.LoadFields method to load fielda for a specific table. Use the MetadataContainer.LoadFields method to load fields for all tables.

Also please note that working in Offline mode (QueryBuilder.OfflineMode = True), fields will be loaded automatically on calling the RefreshMetadata method.

Sergey Smagin
Sergey Smagin | email
1 day, 20 hours since original post
This topic is closed