468,740 Members | 1,949 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,740 developers. It's quick & easy.

Popup Form + Messagebox

Does anyone know of a way to open a messagebox over a popup form opened in
acDialog mode?

Thanks for any ideas!

Steve
Nov 12 '05 #1
4 9291
A MsgBox should open on top of a dialog/popup form. Just call it from the
code.

--
Ken Snell
<MS ACCESS MVP>

"Steve" <sp**@nospam.net> wrote in message
news:Cu*****************@newsread2.news.atl.earthl ink.net...
Does anyone know of a way to open a messagebox over a popup form opened in
acDialog mode?

Thanks for any ideas!

Steve

Nov 12 '05 #2
Ken,

Thanks for replying!

You missed my question!

MsgBox "Whatever"
DoCmd.OpenForm "MyForm",,,,,acDialog

In the above code, the message box has to close before MyForm opens.

DoCmd.OpenForm "MyForm",,,,,acDialog
MsgBox "Whatever"

In this code, MyForm has to either become not visible or close before the
messagebox opens.

I'm looking for a way to have them both open at the same time.

Steve

"Ken Snell" <kt***********@notcomcast.realnet> wrote in message
news:Oc**************@TK2MSFTNGP10.phx.gbl...
A MsgBox should open on top of a dialog/popup form. Just call it from the
code.

--
Ken Snell
<MS ACCESS MVP>

"Steve" <sp**@nospam.net> wrote in message
news:Cu*****************@newsread2.news.atl.earthl ink.net...
Does anyone know of a way to open a messagebox over a popup form opened in
acDialog mode?

Thanks for any ideas!

Steve


Nov 12 '05 #3
"Steve" <sp**@nospam.net> wrote in news:m%Kjb.7$Uz6.1
@newsread1.news.atl.earthlink.net:
Ken,

Thanks for replying!

You missed my question!

MsgBox "Whatever"
DoCmd.OpenForm "MyForm",,,,,acDialog

In the above code, the message box has to close before MyForm opens.

DoCmd.OpenForm "MyForm",,,,,acDialog
MsgBox "Whatever"


You could try

Private Sub Form_Load()
Me.Visible = True
MsgBox "blah"
End Sub

in the form module.
--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
Nov 12 '05 #4
You're right...I didn't understand that this was what you wanted to do.

Open the MsgBox from the Dialog form, not from the calling form. As Lyle
suggests, you can do this in the dialog form's OnLoad event; or you can use
the dialog form's OnOpen event.

--
Ken Snell
<MS ACCESS MVP>
"Steve" <sp**@nospam.net> wrote in message
news:m%***********@newsread1.news.atl.earthlink.ne t...
Ken,

Thanks for replying!

You missed my question!

MsgBox "Whatever"
DoCmd.OpenForm "MyForm",,,,,acDialog

In the above code, the message box has to close before MyForm opens.

DoCmd.OpenForm "MyForm",,,,,acDialog
MsgBox "Whatever"

In this code, MyForm has to either become not visible or close before the
messagebox opens.

I'm looking for a way to have them both open at the same time.

Steve

"Ken Snell" <kt***********@notcomcast.realnet> wrote in message
news:Oc**************@TK2MSFTNGP10.phx.gbl...
A MsgBox should open on top of a dialog/popup form. Just call it from the code.

--
Ken Snell
<MS ACCESS MVP>

"Steve" <sp**@nospam.net> wrote in message
news:Cu*****************@newsread2.news.atl.earthl ink.net...
Does anyone know of a way to open a messagebox over a popup form opened in acDialog mode?

Thanks for any ideas!

Steve



Nov 12 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Chris Fink | last post: by
3 posts views Thread by glenhong | last post: by
2 posts views Thread by Amir Shaz | last post: by
18 posts views Thread by Colin McGuire | last post: by
3 posts views Thread by Prasun | last post: by
5 posts views Thread by SQACSharp | last post: by
reply views Thread by zhoujie | last post: by
xarzu
2 posts views Thread by xarzu | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.