I created a checkbox on the Customer Orders form that when checked requires another field to be entered. This is done through Form Script with basically an IF statement (see below). Order entry is reporting, though, that when they check the box on one order - when they do a new order, it thinks the field is still required. The work around to this seems to be to have them close the form - do a Control+U - and then create a new order. Is there some statement I can add to fix this?
Sub AutoCheckExpedite()
If ThisForm.Components("CoNumEdit").Value.ToUpper.Contains("AT") Then
ThisForm.Components("cbExpedite").Value = "1"
ThisForm.Components("editexpediteFees").Required = True
End If
End Sub
Thank you in advance for any assistance you may provide.