Roger's Access Library Homepage
Forum Home Forum Home > Other Download Libraries > MS Access MVP Libraries > Tejpal, A.D.
  New Posts New Posts RSS Feed - FormSetReqdFields.zip
  FAQ FAQ  Forum Search   Events   Register Register  Login Login


Please consider donating $1 per sample downloaded, (find out why here)

FormSetReqdFields.zip

 Post Reply Post Reply
Author
Message
A.D. Tejpal View Drop Down
Microsoft MVP
Microsoft MVP


Joined: 30 Jun 2008
Status: Offline
Points: 192
Post Options Post Options   Thanks (0) Thanks(0)   Quote A.D. Tejpal Quote  Post ReplyReply Direct Link To This Post Topic: FormSetReqdFields.zip
    Posted: 08 Jul 2008 at 10:52pm
This sample db demonstrates user setting of required fields at data entry stage.

The field list is built up, based upon the record source for the form.

If the FieldList table is empty, it gets populated automatically, on opening of form F_DataMain.

For fields to be pinpointed as mandatory, the adjoining check box should be 
selected (in the list displayed on Set Required Fields tab).

During data entry, form's Before Update event checks whether any of such 
mandatory fields is blank. If so, suitable warning message, listing such blank fields, 
is displayed and update action gets cancelled.
 
Versions - Access XP & 2K (In Access 2000 File Format)
References - DAO 3.6

Download Access XP & 2K: uploads/37/FormSetReqdFields.zip

--

Email: adtejpal@gmail.com
Back to Top
Sponsored Links


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.