Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I get a list of fields from any DB in the right order

Status
Not open for further replies.

Puc

Programmer
Mar 12, 2001
10
GB
Does anybody know how to retieve a field list in the right order (i.e. in the same order that the RDS gets it)?

I use all sorts of DBs though including MySQL so it has to be a generic solution.

It would be amazing if I gould get the datatypes too if anyone knows how to retrieve those.
 
Have you tried qYourQuery.ColumnList to get a list of fields in the database?

Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top