Advertisement

07.20.2008 at 12:03PM PDT, ID: 23580370
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.8

How do I make restrict a user from moving form a form field until data has been entered?

Asked by bridge3196 in Access Forms, Microsoft Access Database, Access Coding/Macros

Tags: , ,

I have a form set up to collect information about a user.  Once the user is done answering the questions, they hit a button that runs a macro.  The macro is saving the record to a table, printing and then reseting the form.  All the controls have been removed from the form, so that the user can not move forward or backwards revealing other entries.  It functions a lot like a kiosk.

Here's the problem I am having and this is all set up in the form itself.

The form opens with focus in the right space.  You are able to tab from field to field with no error message.  But if you enter a character(s) in a field and then delete them (which then leaves the field empty) and then tab out, it displays the error message I'm looking for.  

Very basic example of what I want to happen:

The form has 6 fields.  First Name, Last Name, Address, City, State, Zip.  When the form opens, the cursor is in the First Name field.  If you enter your name you have the ability to go to the Last Name field.  If you enter absolutely nothing when it opens and try to tab to the next field a message box comes up saying "Please enter your First Name".  Actually, it would look nicer to display the message inside the text field, but the message box is fine, don't want it to get too complicated.

This is what I'm using for the Validation Rule:  >Now()
Validation Text:  Please enter your First Name

Seems like I am missing one simple step, I just cant figure it out.

Any assistance would be greatly appreciated.  Also, I should note that I have little/no experience so if you could explain where code and all the other stuff needs to go, that would be great.

Thanks in advance!!!







I have a Validation Rule with corresponding Validation Text for each text box.  Start Free Trial
[+][-]07.20.2008 at 12:28PM PDT, ID: 22046654

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Access Forms, Microsoft Access Database, Access Coding/Macros
Tags: Micrsoft, Access, 2002
Sign Up Now!
Solution Provided By: LSMConsulting
Participating Experts: 1
Solution Grade: A
 
 
[+][-]07.20.2008 at 01:06PM PDT, ID: 22046758

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628