Message Boxes

  • Thread starter Thread starter mark via AccessMonster.com
  • Start date Start date
M

mark via AccessMonster.com

I created a access page, When the user clicks on the submit button, I would
like to have a message box appear stating that their request has been
received. I would also like the page to reset so that all the fields are
blank.

Is there any way that this can be done?
 
Yes there is!

Go in design mode, rigth click on your Submit Button then select properties.
Click on the "..." beside the On_Click event (It will bring you to VB mode).

In the ON_Click event section (should be created automaticaly) put this :

msgbox "Bla bla bla here is my message"

That it!

There is other parameters you can place in the msgbox() function so I
recommend you to go see the Access help about it.

Yanick
 
Oups, forgot about the refresh.

put me.requery before the msgbox() function.

Yanick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top