Forum Discussion
Michael1105
Mar 13, 2020Brass Contributor
How do I make a field mandatory for input?
I am having an issue with trying to have a field require mandatory input. Within a Form that I have established via the Customize Ribbon--> Developer--> Forms option which is assigned to the Table c...
Charla74
Mar 13, 2020Iron Contributor
You will need to input the exception in the vba code. For example if the dimension for the 'forms' entry is declared as 'forms' then you would need to add a line of code something like
If forms.value = "" Then
Msgbox "You must enter a value in the Forms field."
End if
If forms.value = "" Then
Msgbox "You must enter a value in the Forms field."
End if