-----Original Message-----
I have done this and Still nothing??
I have made sure that everything works... the only thing
wrong is when I actually click the form it does nothing
when as you say it works for you...
James,
I have tried your code in AC2000 and AC2002. I verify that it does NOT work.
Perhaps Fred clicked on the body of his test form and invoked the property dialog without looking at
the header of the dialog. The dialog that comes up is for the Detail properties and indeed if you add an
onClick event to the Detail section, it works.
Is there anything else I can do?
Many Thanks
James
-----Original Message-----
On Fri, 19 Mar 2004 11:50:22 -0800, James wrote:
If what I said would stop it is there anyway I could
get
my MSGBOX to work with my flashing Label?
Many Thanks
James
-----Original Message-----
I have an onClick Event I have the following code:
Private Sub Form_Click()
Dim strMsg As String
strMsg = "Please Press a Key to Continue!"
MsgBox strMsg, vbOKOnly, "Error!"
DoCmd.Beep
End Sub
When I click the form it does nothing??
Any Suggestions?
Many Thanks
James
It works for me.
Are you sure you don't have an invisible control hidden
where you are
clicking on the form. You must click on a blank space
on
the form.
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
.
A flashing label would not cause the code not to run....
as long as
you are not clicking on the label.
1) Did you write [Event Procedure] on the Form's Click
event?
(The Form click event is not the same as the Detail Click
event.
If you are clicking in the Detail section, place the code
in the
Detail click event, not the Form click event.)
2) Place a stop on the strMsg = line in the code and
step through
line by line.
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
.
Hi Guys,
The Form Click event does work, but not if you click in the Detail
section.
If you have the code in the Form Click event, click in the area above
the navigation buttons but below the bottom of the record selector (in
other words under the detail section).
The Form Click event will then work.
However, if you wish to click in the Detail section, place the code in
the Detail Click event instead, or also.
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
.