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?