G
GLT
Can anyone advise why I am getting a run-time error with this line (and what
I need to do to get it working?):
Me.Parent!Form.Bookmark = rst.Bookmark 'reposition the form
Here is the code I am trying to run:
Sub Form_Click()
Dim rs As DAO.Recordset
If Me.Parent.Dirty Then
Me.Parent.Dirty = False
End If
'Search in the clone set.
Set rs = Me.RecordsetClone
rs.FindFirst "[RecID] = '" & Me.RecID & "'"
If Not rs.NoMatch Then
Me.Parent!Form.Bookmark = rst.Bookmark 'reposition the form
Me.Parent![ServerList].Requery
End If
Set rs = Nothing
End Sub
Any assistance is always greatly appreciated...
Cheers,
GLT.
I need to do to get it working?):
Me.Parent!Form.Bookmark = rst.Bookmark 'reposition the form
Here is the code I am trying to run:
Sub Form_Click()
Dim rs As DAO.Recordset
If Me.Parent.Dirty Then
Me.Parent.Dirty = False
End If
'Search in the clone set.
Set rs = Me.RecordsetClone
rs.FindFirst "[RecID] = '" & Me.RecID & "'"
If Not rs.NoMatch Then
Me.Parent!Form.Bookmark = rst.Bookmark 'reposition the form
Me.Parent![ServerList].Requery
End If
Set rs = Nothing
End Sub
Any assistance is always greatly appreciated...
Cheers,
GLT.