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!

pass-through query and vba

Status
Not open for further replies.

nmav

MIS
Jan 30, 2002
1
US
here is my pass-through query (access odbc connection):
SELECT abc_MAIN.abc_SEQUENCE.NEXTVAL FROM DUAL;

It assigns unique value to a primary field from one of the tables linked to oracle database.
I need to use values from this pass-through query in the loop which will populate 1000 records in the oracle table. without primary key the table will not be updated.

what is the right way to loop through such a query?
rst!id=abc_MAIN.abc_SEQUENCE.NEXTVAL ???
will apppreciate any help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top