Solved

MsgBox

Posted on 2016-10-05
2
37 Views
Last Modified: 2016-10-05
I would like this message box to display the value it calculates in Counter.. what is the correct syntax.

MsgBox "'Counter'" + "Records Added Successfully"
0
Comment
Question by:Tony Crisafi
2 Comments
 
LVL 28

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 500 total points
ID: 41830328
Try it like this....
MsgBox Counter, vbInformation, "Records Added Successfully"

Open in new window

0
 
LVL 17

Expert Comment

by:Roy_Cox
ID: 41830332
Is Counter a variable that is declared in the code. The message box should display after the value has been set.
MsgBox Counter & "  Records Added Successfully", VBInformation,"Completed"

Open in new window

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
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

23 Experts available now in Live!

Get 1:1 Help Now