Change form recordset remotely from another form problem
I want to change the recordset on a form remotely from another form and would like to do this in DAO. How do i do it? I am not familiar with what is involved with DAO in Access- the following code does not work. I get an 'item not found in collection error".
Code:
Dim strSQL As String
Dim rsDAO As RecordSet
strSQL = ...
Set rsDAO = Forms!frmLibraryBooks.RecordsetClone(strSQL)
Set rsDAO = Nothing
DoCmd.Close acForm, "frmLibraryBooksSubSearch", acSaveNo
Thank you!
Llyal
I want to change the recordset on a form remotely from another form and would like to do this in DAO. How do i do it? I am not familiar with what is involved with DAO in Access- the following code does not work. I get an 'item not found in collection error".
Code:
Dim strSQL As String
Dim rsDAO As RecordSet
strSQL = ...
Set rsDAO = Forms!frmLibraryBooks.RecordsetClone(strSQL)
Set rsDAO = Nothing
DoCmd.Close acForm, "frmLibraryBooksSubSearch", acSaveNo
Thank you!
Llyal