Solved

InputBox displays when form opens

Posted on 2014-10-15
3
186 Views
Last Modified: 2014-10-15
I have created a form with numerous text boxes whose Control Value are set to "InputBox("Enter Value", "Plate Response").

When I open the form the user is prompted for each one of the InputBoxes.  How do I turn this feature off and allow the user navigate to the first input box, and then move to the next upon update?

Thanks

Glen
0
Comment
Question by:GPSPOW
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
ID: 40382660
<<How do I turn this feature off and allow the user navigate to the first input box, and then move to the next upon update?>>

 If your using a form with controls, there's no need for an input box.

 The inputbox() function is intended for entry outside of a form.

 Simply set the controlsource of the control to the field in the forms recordsource, or leave it blank (in which case, it is "unbound")

Jim.
0
 

Author Comment

by:GPSPOW
ID: 40382708
Can you validate the input if it is suppose to be numeric?

Thanks

glen
0
 
LVL 57
ID: 40382891
Certainly.  

 If it's a bound control, then the data type controls the types of things that go in there.  Many of the controls properties, such as input mask and format  control how you can enter things and will appear.

 You can also do additional checks in the controls BeforeUpdate event for things that go beyond that, like checking if a date is within the last 30 days, etc.

In fact you could if you wanted to check each and every character as the user types (not often you'd do this, but you can do it).

Jim.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question