PC Review


Reply
Thread Tools Rate Thread

AutoKey Macro for CTRL + '

 
 
desireemm
Guest
Posts: n/a
 
      29th Aug 2009
Hello I need to create an Autokey macro but not sure how to do it. its
suppose to Insert the data from the same field in the previous record CTRL+'
can anyone help please
 
Reply With Quote
 
 
 
 
Steve Schapel
Guest
Posts: n/a
 
      3rd Sep 2009
Desiree,

I am struggling to understand. You are apparently already aware of Access's
built-in Ctrl+' keyboard shortcut for this purpose. And now you want to use
AutoKeys to create another keyboard shortcut to do the same thing? Why?
What's wrong with using Ctrl+' and what advantage would it be to use
something else instead? You still tie up the same number of fingers!

--
Steve Schapel, Microsoft Access MVP


"desireemm" <(E-Mail Removed)> wrote in message
news:842113CC-8C53-44DE-A838-(E-Mail Removed)...
> Hello I need to create an Autokey macro but not sure how to do it. its
> suppose to Insert the data from the same field in the previous record
> CTRL+'
> can anyone help please


 
Reply With Quote
 
desireemm
Guest
Posts: n/a
 
      4th Sep 2009
The reason is because I am using an ADP and it does not support CTRL +
Apostrophe only an MDB does. but I have SQL Server 2005 as the engine

"Steve Schapel" wrote:

> Desiree,
>
> I am struggling to understand. You are apparently already aware of Access's
> built-in Ctrl+' keyboard shortcut for this purpose. And now you want to use
> AutoKeys to create another keyboard shortcut to do the same thing? Why?
> What's wrong with using Ctrl+' and what advantage would it be to use
> something else instead? You still tie up the same number of fingers!
>
> --
> Steve Schapel, Microsoft Access MVP
>
>
> "desireemm" <(E-Mail Removed)> wrote in message
> news:842113CC-8C53-44DE-A838-(E-Mail Removed)...
> > Hello I need to create an Autokey macro but not sure how to do it. its
> > suppose to Insert the data from the same field in the previous record
> > CTRL+'
> > can anyone help please

>
>

 
Reply With Quote
 
desireemm
Guest
Posts: n/a
 
      8th Sep 2009
I was told to use this but I'm not sure how do I put this in the afterupdate
of the form properties . and is the control name the name of the subform??
Private Sub YourControlName_AfterUpdate()
Me.YourControlName.DefaultValue = """" & Me.YourControlName.Value & """"
End Sub

"June7" wrote:

>
> Try something like:
> DoCmd.RunCommand acCmdRecordsGoToPrevious
> varData = fieldname
> DoCmd.RunCommand acCmdRecordsGoToNext
> fieldname = varData
>
>
> --
> June7
> ------------------------------------------------------------------------
> June7's Profile: http://www.thecodecage.com/forumz/member.php?userid=784
> View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=129660
>
>

 
Reply With Quote
 
desireemm
Guest
Posts: n/a
 
      8th Sep 2009

I wanted to do this in the subform is this correct I put it in the
properties Afterupdate()
Private Sub Tanf_tblsubform_AfterUpdate()
Me.Tanf_tblsubform.DefaultValue = """" & Me.Tanf_tblsubform.Value & """"
End Sub
"desireemm" wrote:

> The reason is because I am using an ADP and it does not support CTRL +
> Apostrophe only an MDB does. but I have SQL Server 2005 as the engine
>
> "Steve Schapel" wrote:
>
> > Desiree,
> >
> > I am struggling to understand. You are apparently already aware of Access's
> > built-in Ctrl+' keyboard shortcut for this purpose. And now you want to use
> > AutoKeys to create another keyboard shortcut to do the same thing? Why?
> > What's wrong with using Ctrl+' and what advantage would it be to use
> > something else instead? You still tie up the same number of fingers!
> >
> > --
> > Steve Schapel, Microsoft Access MVP
> >
> >
> > "desireemm" <(E-Mail Removed)> wrote in message
> > news:842113CC-8C53-44DE-A838-(E-Mail Removed)...
> > > Hello I need to create an Autokey macro but not sure how to do it. its
> > > suppose to Insert the data from the same field in the previous record
> > > CTRL+'
> > > can anyone help please

> >
> >

 
Reply With Quote
 
desireemm
Guest
Posts: n/a
 
      8th Sep 2009
Private Sub Tanf_tblsubform_AfterUpdate()
Me.Tanf_tblsubform.DefaultValue = """" & Me.Tanf_tblsubform.Value & """"
End Sub

ok here is what I got, now do I put the field names in there because they
would be inputing hours into the subform. do I put the field names where the
quotes are. [Catagory for hours] [Services Covered], [Earned hours] [contact
date] [purpose of contact]??


"desireemm" wrote:

>
> I wanted to do this in the subform is this correct I put it in the
> properties Afterupdate()
> Private Sub Tanf_tblsubform_AfterUpdate()
> Me.Tanf_tblsubform.DefaultValue = """" & Me.Tanf_tblsubform.Value & """"
> End Sub
> "desireemm" wrote:
>
> > The reason is because I am using an ADP and it does not support CTRL +
> > Apostrophe only an MDB does. but I have SQL Server 2005 as the engine
> >
> > "Steve Schapel" wrote:
> >
> > > Desiree,
> > >
> > > I am struggling to understand. You are apparently already aware of Access's
> > > built-in Ctrl+' keyboard shortcut for this purpose. And now you want to use
> > > AutoKeys to create another keyboard shortcut to do the same thing? Why?
> > > What's wrong with using Ctrl+' and what advantage would it be to use
> > > something else instead? You still tie up the same number of fingers!
> > >
> > > --
> > > Steve Schapel, Microsoft Access MVP
> > >
> > >
> > > "desireemm" <(E-Mail Removed)> wrote in message
> > > news:842113CC-8C53-44DE-A838-(E-Mail Removed)...
> > > > Hello I need to create an Autokey macro but not sure how to do it. its
> > > > suppose to Insert the data from the same field in the previous record
> > > > CTRL+'
> > > > can anyone help please
> > >
> > >

 
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
use CTRL key inside a macro IE CTRL + ; Date Less Microsoft Excel Worksheet Functions 1 14th Apr 2008 11:58 PM
Re: Macro's with Ctrl or Ctrl-Shift? Al Franz Microsoft Excel Discussion 2 5th Sep 2005 10:48 PM
Re: Macro's with Ctrl or Ctrl-Shift? Al Franz Microsoft Excel Discussion 1 5th Sep 2005 09:58 PM
Autokey Macro - Access 2003 Paul Microsoft Access Macros 0 25th Apr 2005 05:22 PM
Autokey macro quit after conversion to Access 2003 Paul Microsoft Access Macros 1 22nd Apr 2005 02:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:52 AM.