Solved

MsgBox

Posted on 2016-10-05
2
47 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

861 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

22 Experts available now in Live!

Get 1:1 Help Now