Hi, all
I'am trying to create a record on a form, make select on the combo box and then open another form with this code:
That code opens the form "fm_Inspection", but not on the created new record.
What am i missing?
I'am trying to create a record on a form, make select on the combo box and then open another form with this code:
Code:
Private Sub Combobox_AfterUpdate()
If Me.Combobox = "Name1" Then
DoCmd.OpenForm "fm_Inspection", , , "[InspectionID]=" & Me.InspectionID
Exit Sub
End If
End Sub
What am i missing?
Last edited: