Link to home
Start Free TrialLog in
Avatar of SteveL13
SteveL13Flag for United States of America

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?
Avatar of SteveL13
SteveL13
Flag of United States of America image

ASKER

Solved it.  I found code in the 2nd forms on current event.

Me.FilterOn = False

Don't know why it was there.
ASKER CERTIFIED SOLUTION
Avatar of SteveL13
SteveL13
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial