SteveL13
asked on
Open a specific form's record via a double-click event on another form
I'm trying to open a specific form's record via a double-click event on another form. Here are the things I've tried but no matter what code I use, the form opens to the first record.
DoCmd.OpenForm "frmClients", , , "[ClientID]=" & Me.txtClientID
and
DoCmd.OpenForm "frmClients", , , "ClientID = " & Me.txtClientID
and
DoCmd.OpenForm "frmClients", WhereCondition:="ClientID= " & Me.txtClientID
What is wrong with this?
DoCmd.OpenForm "frmClients", , , "[ClientID]=" & Me.txtClientID
and
DoCmd.OpenForm "frmClients", , , "ClientID = " & Me.txtClientID
and
DoCmd.OpenForm "frmClients", WhereCondition:="ClientID=
What is wrong with this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Me.FilterOn = False
Don't know why it was there.