Solved

InputBox displays when form opens

Posted on 2014-10-15
3
179 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
  • 2
3 Comments
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
Comment Utility
<<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
Comment Utility
Can you validate the input if it is suppose to be numeric?

Thanks

glen
0
 
LVL 57

Expert Comment

by:Jim Dettman (Microsoft MVP/ EE MVE)
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
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 …
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now