Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 MS Access
 msgbox with yes/no

Author  Topic 

kalsee
Starting Member

5 Posts

Posted - 2010-12-20 : 06:52:21
The macro msgbox only includes "ok" as far as I as I can see.
Is there another macro available with yes/no/cancel?

Or is that only available through VB?

Thanks for your time!

nheidorn
Starting Member

28 Posts

Posted - 2010-12-20 : 14:36:15
If I had to guess, I'd say that you can only use "Ok" message boxes because there's no way to branch on the results in a Macro.
Go to Top of Page

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2010-12-20 : 15:13:38
There are many types of msgbox available.

MsgBox "Hello World", vbYesNoCancel

By the way, you certainly can branch results in a Macro. A macro is nothing more than a VB method attached to an event.
Go to Top of Page

nheidorn
Starting Member

28 Posts

Posted - 2010-12-21 : 16:00:40
@russell I'm using Access 2003 and there are no options to have anything other than a "ok" msgbox in a macro. I agree you can have several types from vb, but that wasn't the question.
Go to Top of Page
   

- Advertisement -