Charity,
I am having the same difficulty, could you please help me with the bookmark property.
I am using the following code:
Private Sub Listofdomainnames_Click()
On Error GoTo Err_Listofdomainnames_Click
Dim stDocName As String
Dim rst As Recordset, strCriteria As String
stDocName = "RealForm"
strCriteria = "[Domain]=" & "'" & Me![Listofdomainnames] & "'"
DoCmd.OpenForm stDocName
Set rst = Me.RecordsetClone
rst.FindFirst strCriteria
Me.Bookmark = rst.Bookmark
Exit_Listofdomainnames_Click:
Exit Sub
Err_Listofdomainnames_Click:
MsgBox Err.Description
Resume Exit_Listofdomainnames_Click
End Sub
I get the error : You entered an expression that has an invalid reference to the RecordsetClone property.
How do I get around this??
Thnx in advance,
Angelo
[This message has been edited by Angello Pimental (edited 06-12-2001).]
[This message has been edited by Angello Pimental (edited 06-12-2001).]