Hi everyone,
I have button on click event to open frmCreateAccount with the value assigned by me to be updated in frmcreateAccount cboGroup in order to do that i have make following code, but its opening with no value filled in cboGroup on frmCreateAccount.
or in another words i would say, I want "Income" string which is already in cboGroup combo box list value and when frmCreateAccount open by clicking on frmAddnewAccount should select this value from that list.
I have button on click event to open frmCreateAccount with the value assigned by me to be updated in frmcreateAccount cboGroup in order to do that i have make following code, but its opening with no value filled in cboGroup on frmCreateAccount.
Code:
Private Sub BtnContinue_Click()
If Me.Option1 = True Then
DoCmd.OpenForm "frmCreateAccount", acNormal, [cboGroup] = "Income", , acFormAdd, acDialog
Exit Sub
End If
End Sub
or in another words i would say, I want "Income" string which is already in cboGroup combo box list value and when frmCreateAccount open by clicking on frmAddnewAccount should select this value from that list.
Last edited: