?
Solved

InputBox displays when form opens

Posted on 2014-10-15
3
Medium Priority
?
188 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 2000 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
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.
Suggested Courses

764 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