Solved

Input box string

Posted on 2011-03-25
3
242 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 - Access MVP) earned 500 total points
ID: 35218576
Something like this:

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

mx
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

757 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

14 Experts available now in Live!

Get 1:1 Help Now