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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Autokeys macro - trapping ^c causing problems/irritations in design mode
Hello
We have an AutoKey macro trapping ^c (copy), it runs some code when ^c is detected. We are having problems in design mode when trying to copy data from a control's Properties dialog, for example trying to copy the row source sql from a drop down box. We get the following Action Failed dialog: Action Failed Macro Name: AutoKeys.^c Condition: True ActionName: RunCode Arguments: our_routine_name() If we try and copy text or controls etc on the form in design mode it is fine, no problems. It only causes problems (so far...) in the Properties dialog box. Does anyone know what the problem here is? We could of course turn autokeys off while we are developing etc but at this stage we are interested in finding the cause and a fix it possible. Thanks AC |
#2
|
|||
|
|||
Autokeys macro - trapping ^c causing problems/irritations in desig
Try opening your database while holding down the shift key, to prevent the
Autokeys macro from running. Either this, or temporarily rename Autokeys to something else. If your finished product will be delivered in .mde format, then I think you could set up a conditional test to run Autokeys only if the file type detected was .mde. Tom ____________________________________________ "A C" wrote: Hello We have an AutoKey macro trapping ^c (copy), it runs some code when ^c is detected. We are having problems in design mode when trying to copy data from a control's Properties dialog, for example trying to copy the row source sql from a drop down box. We get the following Action Failed dialog: Action Failed Macro Name: AutoKeys.^c Condition: True ActionName: RunCode Arguments: our_routine_name() If we try and copy text or controls etc on the form in design mode it is fine, no problems. It only causes problems (so far...) in the Properties dialog box. Does anyone know what the problem here is? We could of course turn autokeys off while we are developing etc but at this stage we are interested in finding the cause and a fix it possible. Thanks AC |
#3
|
|||
|
|||
Autokeys macro - trapping ^c causing problems/irritations indesign mode
AC,
I am not sure of the reason for the specific problem, as I have never done anything quite like this myself. It could be, I suppose, that whatever it is that your RunCode action does is not applicable in some situations. But it is also not clear what you are trying to do here. I would avoid using one of the commonly used built-in key combinations, such as Ctrl+c, as part of an AutoKeys macro. -- Steve Schapel, Microsoft Access MVP A C wrote: Hello We have an AutoKey macro trapping ^c (copy), it runs some code when ^c is detected. We are having problems in design mode when trying to copy data from a control's Properties dialog, for example trying to copy the row source sql from a drop down box. We get the following Action Failed dialog: Action Failed Macro Name: AutoKeys.^c Condition: True ActionName: RunCode Arguments: our_routine_name() If we try and copy text or controls etc on the form in design mode it is fine, no problems. It only causes problems (so far...) in the Properties dialog box. Does anyone know what the problem here is? We could of course turn autokeys off while we are developing etc but at this stage we are interested in finding the cause and a fix it possible. Thanks AC |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I turn on Design View (Mode)? | Varda | Page Layout | 0 | August 26th, 2005 04:11 PM |
Design a Macro that sends e-mail | David | New Users | 3 | September 16th, 2004 12:21 AM |
Need Entry Point 18 Help On Access Executable File | Jeff Conrad | General Discussion | 26 | July 14th, 2004 06:00 AM |
word error | mac | General Discussions | 1 | May 6th, 2004 08:14 AM |