I would like to be able to click on a button from one form(Property) and open up a record in another form(Owner) where it ID is equal, and not using a filter. The Access wizard, open form with specific records feature only opens the records that equal that particular ID in a filter. I would like to avoid having to refresh the form to continue scrolling through the records.
This is what I have so far. Please Help! Thanks in advance! This is a button on the Property form.
Private Sub Command232_Click()
Dim rs As Recordset
Dim searchID
searchID = Me![PropertyID]
Set rs = Forms![Property].RecordsetClone
rs.Find strCriteria Like "[PropertyID]=searchID"
Forms![Owner].Bookmark = rs.Bookmark
Set rs = Nothing
End Sub
This is what I have so far. Please Help! Thanks in advance! This is a button on the Property form.
Private Sub Command232_Click()
Dim rs As Recordset
Dim searchID
searchID = Me![PropertyID]
Set rs = Forms![Property].RecordsetClone
rs.Find strCriteria Like "[PropertyID]=searchID"
Forms![Owner].Bookmark = rs.Bookmark
Set rs = Nothing
End Sub