G
Guest
I am totally stumped by trying to move a bookmark. Line 2 crashes no matter
how I arrange the "!" and "." or insert .Form. in various positions. The
usual error is "incorrect reference." The code is in a called Module
procedure. (The FindFirst line works elsewhere, so I am confident of that.)
Dim rst2 As DAO.Recordset
Set rst2 = Forms!Main!SubFrm!SubFrmSourceObject.Recordset
rst2.FindFirst "Field1 = ..."
Forms references have always been problematic for me, but I usually can get
it by trial and error. Not this time. Help! I'm growing old!
Thanks for your time.
how I arrange the "!" and "." or insert .Form. in various positions. The
usual error is "incorrect reference." The code is in a called Module
procedure. (The FindFirst line works elsewhere, so I am confident of that.)
Dim rst2 As DAO.Recordset
Set rst2 = Forms!Main!SubFrm!SubFrmSourceObject.Recordset
rst2.FindFirst "Field1 = ..."
Forms references have always been problematic for me, but I usually can get
it by trial and error. Not this time. Help! I'm growing old!
Thanks for your time.