My Assistant
|
|
Mar 3 2012, 03:57 PM
Post
#1
|
|
|
UtterAccess Enthusiast Posts: 64 |
Hi, Everyone,
I want to click a form button and run code in a STANDARD module (not the "behind the form" class module). I noticed the name (not the Caption) of my form button was different than the name of my Public Sub, so I changed the name of my Sub to match the name of the button. I started getting an error message. 1) Are both Subs and buttons considered objects in Access? 2) Should my Subs and buttons have different names? Any bit of information to clear this up for me will be appreciated. Thank you! Frank |
|
|
|
![]() |
Mar 5 2012, 11:46 PM
Post
#2
|
|
|
UtterAccess Enthusiast Posts: 64 |
Solved:
Hey, DBG - thanks for your time and effort replying to my post. I decided to change my names back...they're all different now. I used Event Procedures in my Event property to point to them. Thank you. Frank |
|
|
|
Soule Can Sub & Form Button Have Same Name? Mar 3 2012, 03:57 PM
theDBguy Hi Frank,
I think the name of the button will be ... Mar 3 2012, 04:00 PM
theDBguy Hi Frank,
That does make it easier and results ... Mar 6 2012, 12:11 AM![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 22nd May 2013 - 02:55 PM |