By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,635 Members | 911 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,635 IT Pros & Developers. It's quick & easy.

Popup Form + Messagebox

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
"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

P: n/a
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.