PC Review


Reply
Thread Tools Rate Thread

"On Click" from Button won't run code in Access 2007 (2000 db)

 
 
=?Utf-8?B?c3Q=?=
Guest
Posts: n/a
 
      23rd Jun 2006
Hello,

When I open an Access 2000 db in Access 2007, a Button which assigns "On
Click" to run code, won't run the code.
Even 'creating' a Button in Access 2007 still won't run "On Click" code.
Any help will be apprecaited.
Thanks............................Bernard

 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      23rd Jun 2006
Did you tell Access 2007 it is okay to run your code?

- Microsoft Office Button (top left)
- Access Options (bottom of dialog)
- Trust Center tab (left)
- Macro Settings (left)
choose "Enable all macros"

Also, on the Trusted Locations tab (left), click the Add New Location
button, and add your local disk data area with subfolders.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"st" <(E-Mail Removed)> wrote in message
news:9AEEE31B-30CA-4665-B387-(E-Mail Removed)...
> Hello,
>
> When I open an Access 2000 db in Access 2007, a Button which assigns "On
> Click" to run code, won't run the code.
> Even 'creating' a Button in Access 2007 still won't run "On Click" code.
> Any help will be apprecaited.
> Thanks............................Bernard
>



 
Reply With Quote
 
=?Utf-8?B?c3Q=?=
Guest
Posts: n/a
 
      23rd Jun 2006
Thanks for your prompt response..........perfect fix for the problem.
Bernard

"Allen Browne" wrote:

> Did you tell Access 2007 it is okay to run your code?
>
> - Microsoft Office Button (top left)
> - Access Options (bottom of dialog)
> - Trust Center tab (left)
> - Macro Settings (left)
> choose "Enable all macros"
>
> Also, on the Trusted Locations tab (left), click the Add New Location
> button, and add your local disk data area with subfolders.
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia.
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
> "st" <(E-Mail Removed)> wrote in message
> news:9AEEE31B-30CA-4665-B387-(E-Mail Removed)...
> > Hello,
> >
> > When I open an Access 2000 db in Access 2007, a Button which assigns "On
> > Click" to run code, won't run the code.
> > Even 'creating' a Button in Access 2007 still won't run "On Click" code.
> > Any help will be apprecaited.
> > Thanks............................Bernard
> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Mainform code to make one button "click" eight others on Subforms? Jeanette Cunningham Microsoft Access Form Coding 0 21st Mar 2009 05:53 AM
Can I have "Shift-Click" or "Ctrl-Click" Code on Form List? =?Utf-8?B?TWlrZVp6?= Microsoft Excel Programming 1 13th Jun 2007 11:39 AM
access 2007 closes when I click the "office button" =?Utf-8?B?ZGxhemVuYnk=?= Microsoft Access 1 20th Feb 2007 05:32 AM
Code to "click" a button -- is this possible? =?Utf-8?B?QmVu?= Microsoft C# .NET 21 19th May 2006 12:46 PM
Possible to "click" a button by code ? Tee Microsoft VB .NET 17 9th Mar 2004 02:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:14 PM.