N
nouveauricheinvestments
I opened a form via a button and I want to pass an argument to a combo
box control on that form. When the new form opens, the control I want
to preset is blank instead of containing the value it should have.
This is the code I am trying to use:
Private Sub DocumentTicket_Click()
DoCmd.OpenForm "DocumentATicket"
Form_DocumentATicket.LoggedByCombo.Value = ThisUser
End Sub
box control on that form. When the new form opens, the control I want
to preset is blank instead of containing the value it should have.
This is the code I am trying to use:
Private Sub DocumentTicket_Click()
DoCmd.OpenForm "DocumentATicket"
Form_DocumentATicket.LoggedByCombo.Value = ThisUser
End Sub