I’m surprised I’ve never needed to do this before (or maybe I’m just forgetful, which is just as likely), but I’m stumped…
I’m accessing an external database via VBA. The connection returns a recordset object. I’d like to create a new local Access table from this recordset. Is there a “trivial” way to do this? I could step through the recordset and AddNew/Update records to the new local table, one record at a time, but it seems there ought to be a more elegant way to do this. I guess what I’m looking for is the VBA equivalent of the Import Table command, starting with a populated recordset.
Thanks.