A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Event Code not Automating



 
 
Thread Tools Display Modes
  #1  
Old December 20th, 2006, 12:25 PM posted to microsoft.public.access.forms
JudithJubilee
external usenet poster
 
Posts: 100
Default Event Code not Automating

Hello there,

I had a form and added a command button. I then went to the on Click event
in my Properties and click to build it. For some reason the automatic code
wasn't appearing, ie.

Private Sub Command4_Click()

End Sub

Does anyone know why? I tried it with a new form and it worked perfectly. In
the end I just created a new form but I know there must be a reason behind
it. I am using 2003.

Thanks in advance
Judith
Ads
  #2  
Old December 20th, 2006, 01:30 PM posted to microsoft.public.access.forms
Arvin Meyer [MVP]
external usenet poster
 
Posts: 4,231
Default Event Code not Automating

You may have had a corruption in that form. I suggest deleting it and
immediately creating a copy, the do a repair and compact on the copy. That
will usually fix the problem.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

"JudithJubilee" wrote in message
...
Hello there,

I had a form and added a command button. I then went to the on Click event
in my Properties and click to build it. For some reason the automatic code
wasn't appearing, ie.

Private Sub Command4_Click()

End Sub

Does anyone know why? I tried it with a new form and it worked perfectly.
In
the end I just created a new form but I know there must be a reason behind
it. I am using 2003.

Thanks in advance
Judith



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:41 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2004-2018 OfficeFrustration.
The comments are property of their posters.