Hello all,
Could you please help me how to exit the form if Cancel button is pressed in the inputbox ?
Also is it possible to set a rule to only be able to enter to letters and 4 numbers (e.g SH1234)
Code:Private Sub PrintShLabel_Click() DoCmd.OpenForm "ShipperLabelForm", acViewPreview, , "[UIC]=" & InputBox("Enter UIC") End Sub![]()