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  

Autokeys macro - trapping ^c causing problems/irritations in design mode



 
 
Thread Tools Display Modes
  #1  
Old November 13th, 2005, 11:36 PM
A C
external usenet poster
 
Posts: n/a
Default 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  
Old November 14th, 2005, 05:26 AM
Tom Wickerath
external usenet poster
 
Posts: n/a
Default 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  
Old November 14th, 2005, 07:46 PM
Steve Schapel
external usenet poster
 
Posts: n/a
Default 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

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

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


All times are GMT +1. The time now is 03:23 AM.


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