CCIDBMNG
Registered User.
- Local time
- Today, 11:51
- Joined
- Jan 25, 2002
- Messages
- 154
I'm having a problem cloning the current record source of my form to check for records already entered. The code I'm using is
Dim rst as dao.recordset
set rst = me.recordsetclone
I don't get any errors but I have a msgbox(rst.recordcount) which returns 0 even though there should be 3 records in the cloned database.
Could someone please help or tell me exactly what I'm supposed to be referencing to do this. I do have a reference to Microsoft DAO 3.6 Object Library but should I be referencing something else also?
Dim rst as dao.recordset
set rst = me.recordsetclone
I don't get any errors but I have a msgbox(rst.recordcount) which returns 0 even though there should be 3 records in the cloned database.
Could someone please help or tell me exactly what I'm supposed to be referencing to do this. I do have a reference to Microsoft DAO 3.6 Object Library but should I be referencing something else also?