Solved

Input box string

Posted on 2011-03-25
3
244 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

803 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