I am having a major synapse lapse - I'm sure there's an easy fix for this.....
I've got a simple pop-up form for contacts, but if the c_type field is "Tenant" then the c_broker field is required. I've put this in the OnClose event, but I can't figure out how to keep the form open after it errors....
If Me.c_type = "Tenant" And IsNull(Me.c_broker) Then
MsgBox "Broker is Required"
Me.c_broker.SetFocus
End If
thanks for your help! Don't talk bad about me
I've got a simple pop-up form for contacts, but if the c_type field is "Tenant" then the c_broker field is required. I've put this in the OnClose event, but I can't figure out how to keep the form open after it errors....
If Me.c_type = "Tenant" And IsNull(Me.c_broker) Then
MsgBox "Broker is Required"
Me.c_broker.SetFocus
End If
thanks for your help! Don't talk bad about me