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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamically assign fields in a query

Status
Not open for further replies.

Eurof

IS-IT--Management
Nov 14, 2003
9
DE
I am not aure if this is a simple or difficuly question, but here goes.

I have two tables. Table A has 16 columns, and table B has 3. I then want to query on different columns on Table A depending on the column numbers stored in table B.


So looking at the attached document, you can see that for ImportTable = tblImport14 I would like to return a query with columns 1,3,4,15,14,10,7 and 7

Any ideas, ?? assuming that it is understood?
 
Oops I think I got the attachment wrong.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top