Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Input box string

Posted on 2011-03-25
3
Medium Priority
?
250 Views
Last Modified: 2012-05-11
I want to use an input box so that the next number can be entered. I want the message on the input box to say the last number used was (blah,blah), I know that  DLast ("aceuip", "EquipMaster") will get me the last used number but cant figure out how to put the whole message together
0
Comment
Question by:Spikemom
3 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 2000 total points
ID: 35218576
Something like this:

InputBox "Last number used: " & DMax("[aceuip]", "EquipMaster") & " . Please enter next number"

mx
0
 
LVL 49

Expert Comment

by:Dale Fye
ID: 35218613

Why not just generate the next number?

NZ(DMAX("aceuip", "EquipMaster"), 0) + 1

0
 

Author Closing Comment

by:Spikemom
ID: 35218650
Excellent
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

If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

972 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