G
Guest
Hello Again,
I would like to be able to double-click a record called "LastName" in a form
"Client Select" that's for viewing and have another form "Client Form" open
and display the record that was clicked.
The primary key is an autonumber field named "ContactID". I have tried using
the following code, but it prompts for a parameter value instead of opening
Client Form with the appropriate record:
Private Sub LastName_DblClick(Cancel As Integer)
DoCmd.OpenForm "Client Form", , , "Me.ContactID", , acDialog
End Sub
Is it possible to achieve this using an autonumber field?
-Sky
I would like to be able to double-click a record called "LastName" in a form
"Client Select" that's for viewing and have another form "Client Form" open
and display the record that was clicked.
The primary key is an autonumber field named "ContactID". I have tried using
the following code, but it prompts for a parameter value instead of opening
Client Form with the appropriate record:
Private Sub LastName_DblClick(Cancel As Integer)
DoCmd.OpenForm "Client Form", , , "Me.ContactID", , acDialog
End Sub
Is it possible to achieve this using an autonumber field?
-Sky