Loop Append Query

J

JJ

I am trying to create a code that will go through a table of criteria. It
will run a query for a row, append that query to an output table, and then
move down a row and do the same thing over until there are no rows left.

Example of Criteria_Table:

Fields are - Name : Level : Location

Joe : Level 1 : East
Sam : Level 3 : West
Bob : Level 10 : North


Example of Ouput_Table

Fields are - Name : Level : Location : Position Num (from Query on
Criteria_Table and Position_Table)

Joe : Level 1 : East : 2
Sam : Level 3 : West : 6
Bob : Level 10 : North : 9

Any suggestions would be appreciated. Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top