If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Mandatory Form Fields
How to set fields in a form to be mandatory
|
#2
|
|||
|
|||
Mandatory Form Fields
KLM wrote:
How to set fields in a form to be mandatory You don't. Controls themselves have no property to make entry a requirement. You set the fields they are bound to as "Required = Yes" in the table that the form is bound to. Alternatively, you can use code in the form's BeforeUpdate event that checks all of the controls you want to be required and displays a message if any are not filled in. That is not as reliable as using the required field strategy, but is more flexible. -- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com |
Thread Tools | |
Display Modes | |
|
|