Solved

InputBox displays when form opens

Posted on 2014-10-15
3
187 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 58

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 58
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

691 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