Hi I am trying to move to a record on a sub-form (frm_MHF_Entry!SubFrm_MHFTasks) based on an item on another screen (fmractivities).
Essentially the user would select the record from a list (which has "recno") on frmactivities and when they double click it opens another form which has a continuous sub-form based on a column value from a list box. The selection and numbers are working fine.
recno is the unique identifier on the sub-form records.
I am trying to use this code but it seems not to like the "set rs = " line. Any suggestion? Sorry DB too big to post.
Dim rs As DAO.Recordset
Set rs = Forms!frm_MHF_Entry!SubFrm_MHFTasks.Recordset.Clon e <-----------SEEMS TO HOLD here and gives error 438
rs.FindFirst "[recno] = " & Me![lstActive].Column(1)
If Not rs.NoMatch Then Forms!frm_MHF_Entry!SubFrm_MHFTasks.Bookmark = rs.Bookmark
rs.Close
Set rs = Nothing