data entry form
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Data entry in form

Data entry in form

resolvedResolved · Urgent Priority · Version 2007

replyReply Thu 10 Nov 2011, 11:16Delegate Salima said...

Salima has attended:
Access Advanced course

Data entry in form

hi
how can restrict a form so it will highlight the field that cannot remain blank. so if the inputter is keying in a data in form and forget to select customer name from dropdown list, form should prompt "please select cutomer"

For upcoming training course dates see: Pricing & availability

replyReply Fri 11 Nov 2011, 13:32Trainer Anthony said...

RE: data entry in form

Hi Salima, thanks for your query. That involves putting data validation on the field in question. You can do this on a table or on the form itself, but it's best practice to do so on the form. Here are a couple of links with further information:

http://office.microsoft.com/en-us/access-help/create-a-validation-rule-to-validate-data-in-a-field-HA010096312.aspx

http://allenbrowne.com/ValidationRule.html

Hope this helps,

Anthony

replyReply Fri 18 Nov 2011, 16:52Delegate Salima said...

RE: data entry in form - validation rules not working for new re

Thank you for your reply
i have updated the validation rule and validation text at form level. now the problem is if i go to new record in the form, it will not prompt the validation message and let me through without filling in the mandatory fields but if i go back to existing record and delete the text in mandatory field then before going to previous or next record, it will prompt me to fill in the mandatory field. i really want it to prompt me when i am making a brand new entry in a form. can you please help me to achieve that?

replyReply Mon 21 Nov 2011, 10:08Trainer Anthony said...

RE: data entry in form - validation rules not working for new re

Hi Salima. Ah, I see. I'm afraid that will involve some code in the background detecting the current status of controls on the forum and responding accordingly to what is being entered. Once you go beyond the out of the box functionality you're into the land of VBA!

Anthony

Sun 27 Nov 2011: Automatically marked as resolved.

 

Please browse our web site to find out more about
microsoft-access-course and other Microsoft training courses.

Access tip:

Hiding rows and columns

To hide a column or row in Access, you need to minimise the column or row. This can be done by placing your mouse on the right edge of a column, wait for the mouse to change to a double aroow and then drag to minimise the column

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard