Hello masterminds...
This seems like it should be pretty simple. I need to take an ADO recordset object "rsAccts" (data from AS400) and load it into a local Access table "tblAcctCodes". I know this can be accomplished by looping through the recordset and running an INSERT statement for each record in the recordset, but that seems like it would be unnecessary. Or maybe that is the only way to do it. I have to run this several hundred times (within a loop), so the least amount of code would be the best. It would be nice if this can be done through a simple line of code like:
Set tblAcctCodes.recordsource = rsAccts
I'm I dreaming or what?
Any help would be much appreciated, code samples are always awesome! Thanks in advance!
This seems like it should be pretty simple. I need to take an ADO recordset object "rsAccts" (data from AS400) and load it into a local Access table "tblAcctCodes". I know this can be accomplished by looping through the recordset and running an INSERT statement for each record in the recordset, but that seems like it would be unnecessary. Or maybe that is the only way to do it. I have to run this several hundred times (within a loop), so the least amount of code would be the best. It would be nice if this can be done through a simple line of code like:
Set tblAcctCodes.recordsource = rsAccts
I'm I dreaming or what?
Any help would be much appreciated, code samples are always awesome! Thanks in advance!