ADODB Recordsetclone

G

garth

I may be trying to do the same thing as Raas, but answers
there don't work.

How do I create an adodb recordsetclone?

Garth Thanks you!
 
G

Graham R Seach

Garth,

Raas's problem exists because he was trying to assign a DAO recordset object
to an ADO recordset object. The two don't mix. Try this:
Dim rst As DAO.Recordset
Dim frm As Form

Set frm = Forms!frmavailableLoads
Set rst = frm.RecordsetClone

rst.Close
Set rst = Nothing

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
 

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