I'm having a metal block,
I need to check if any of 4 text boxes haven't been completed and for the ones that have no data change the label to red.
I have this...
If IsNull(Me.From_Company) Then
t = MsgBox("A required field has not been completed !" & vbCrLf & vbCrLf & "Fields
shown in red require an entry", vbOKOnly, "Required feilds are empty !")
Me.From_Label.ForeColor = 255
exit sub
end if
how can I do this to any of the 4 fields? and continue if all are ok, if not return to the form
I'm think I have to make an array of the field names and loop through it, any ideas?