VBA Unbound Recordset Object?

T

Tony_VBACoder

Is it possible to create an "Unbound" Recordset object
based on a non-existing table/query? If possible, I would
like to be able to loop through a Single Dimension Array
and populate my "Unbound" recordset object with code such
as:


For iCtr = 1 To UBount(MyArray())
rst.AddNew
!DummyField = MyArray(iCtr)
rst.Update
Next
 
A

Alex Dybenko

yes, you can, this is called disconnected ADO recordset, you can create a
new reocrdset, add fields what you need and then fill it with data.
HTH
 

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