Basically, I'm trying to pull information from a table and compare it to the form values. Can someone help me with this error?
Set DBs = CurrentDb()
Criteria = "SELECT * from tblEX2MFRAME WHERE Forms![frmP6ABViewActive]![subfrmP6abViewActive].Form![GMIN] = [tblEx2MFRAME]![GMIN] AND Forms![frmP6abViewActive].Form![txtFormatAppDate] = [tblEx2Mframe]![APPL_DATE]"
Set Myset = DBs.OpenRecordset(Criteria)
its blowing up on the Set Myset command.
Thanks in advance.
-Sillygirl
Set DBs = CurrentDb()
Criteria = "SELECT * from tblEX2MFRAME WHERE Forms![frmP6ABViewActive]![subfrmP6abViewActive].Form![GMIN] = [tblEx2MFRAME]![GMIN] AND Forms![frmP6abViewActive].Form![txtFormatAppDate] = [tblEx2Mframe]![APPL_DATE]"
Set Myset = DBs.OpenRecordset(Criteria)
its blowing up on the Set Myset command.
Thanks in advance.
-Sillygirl