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

Wacky Macros

P: n/a
DS
I have a Macro that works fine on a button. It has a what condition
that opens a form. However when I attach it to Label with a Click
property...It doesnt work. Then it does. Then it doesn't. Any known
bugs with Labels and Macros on Click Events? Thanks
DS
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Don't use macros. You are better off coding that procedure with VBA.

Private Sub Label1_Click()

If txtField = "" Then
Docmd.OpenForm
Else
Exit Sub
End If

End Sub
DS <bo******@optonline.net> wrote in message news:<iU********************@news4.srv.hcvlny.cv.n et>...
I have a Macro that works fine on a button. It has a what condition
that opens a form. However when I attach it to Label with a Click
property...It doesnt work. Then it does. Then it doesn't. Any known
bugs with Labels and Macros on Click Events? Thanks
DS

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.