|
Pacific Database |
|
| Home Company Services Employment Support Centre Events Contact Us | |
|
A world of information at your fingertips |
|
Highlight required form fieldsThis procedure allows you to highlight a bound form's required fields so the user knows what data they must enter before attempting to save the record.
Each bound form has a recordset, and each recordset has a Fields collection. Each field has a Required property, and it's this property the procedure checks for every bound control on the form. Add the following code to a standard module:
Then add the following line of code to the form's Current event, specifying whatever colour you want to use to highlight the field. ShowRequiredFields Me, vbYellow |
Tested on...
|
| Home • Company • Services • Employment • Support Centre • Events • Contact Us | Pacific Database © 2008 |