Access 2007 Buttons and identifying SQL code

18 views
Skip to first unread message

Adam

unread,
Jan 13, 2013, 3:08:24 PM1/13/13
to acces...@googlegroups.com
Hi all,

Can someone help me find out how to identify what SQL commands are linked to a button on a form?

I'm trying to find the SQL/Query linked to a button in a Access 2007 dB.

Thanks,

Adam

rajan verma

unread,
Jan 14, 2013, 7:27:55 AM1/14/13
to acces...@googlegroups.com
Do you want to get it by code .. ?

Rajan

--
Forum Rules:
1) Use concise, accurate thread titles. Don't use Poor thread titles, like Please Help, Urgent, Need Help, Query Problem, Need Advice will not get quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Acknowledge the responses you receive, good or bad.
4) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited.
NOTE : Don't ever share your personal and confidential data . Forum owners and members are not responsible for any loss.
 
Group Email ID : acces...@googlegroups.com
Send Mail to Unsubscribe : access-sql+...@googlegroups.com
More Details about Group : http://groups.google.com/group/access-sql?hl=en



--
Regards
Rajan verma
+91 9158998701

Adam Stratas

unread,
Jan 14, 2013, 8:21:23 AM1/14/13
to acces...@googlegroups.com

I'd like to see the code linked to a button.

rajan verma

unread,
Jan 14, 2013, 9:50:34 AM1/14/13
to acces...@googlegroups.com
if i am correct, you can see the Event Assign to the button by Right Click on the button , goto property of button. there are some event listed in the property explorer , you can find the associated event there 

Rajan,

Adam Stratas

unread,
Jan 14, 2013, 9:48:53 PM1/14/13
to acces...@googlegroups.com
Once I locate the event, how to do I find the associated query/macro linked to the event?

BrianDP

unread,
Feb 20, 2013, 11:44:07 AM2/20/13
to acces...@googlegroups.com
It'll spell it out in the code... Something pretty obvious like:
 
docmd.openquery "THE NAME OF THE QUERY IS HERE!"
 
or something like that.
 
 
-BrianDP
Reply all
Reply to author
Forward
0 new messages