SteveL13
asked on
Why form won't open to a selected record
I have a form which the user can select a record from a combobox. Then the following code is supposed to open the second form to the selected record. Instead the 2nd form opens and all records are displayed.
???
Here's the code of the onclick event of the command button on the first form.
DoCmd.OpenForm "frmMatlsTransHeader", acNormal, , , acFormEdit, acWindowNormal, "[MatlsTransHeaderID]=" & Me.cboID
What am I doing wrong?
???
Here's the code of the onclick event of the command button on the first form.
DoCmd.OpenForm "frmMatlsTransHeader", acNormal, , , acFormEdit, acWindowNormal, "[MatlsTransHeaderID]=" & Me.cboID
What am I doing wrong?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER