• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 252
  • Last Modified:

Input box string

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
Spikemom
Asked:
Spikemom
1 Solution
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
Something like this:

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

mx
0
 
Dale FyeCommented:

Why not just generate the next number?

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

0
 
SpikemomAuthor Commented:
Excellent
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now