Yes/No pop-up

M

Michaelcip

Using Access 2003, I have a macro w/ a series of commands
(append/make/update queries), but prior to them running, I want the user to
answer a "Yes/No" question ("Are you sure you want to do this?"). How is
this done through the macro - the initial line-item? I'd PREFER to do this
through a windows-message box rather than an Access form. Thanks in advance,
MC
 
S

Steve Schapel

Michael,

In the Condition of the macro, enter like this:
MsgBox("Are you sure you want to do this?",36,"Confirm")=6
 

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

Top