PC Review


Reply
Thread Tools Rate Thread

Ctrl in Access code

 
 
Sarena
Guest
Posts: n/a
 
      23rd Jun 2004
I have an access database that print receipts after a
customer makes a purchase. At the same time, I want the
cash drawer to open up. In order to do this, I need the
control key hit at the same time as the letter "G" or the
ascii or hex or dec version of this. However, whenever I
try to type control G into my code, my immediate window
pops up and I cannot code this in.
Any suggestions would be greatly appreciated.
Thank you,
Sarena
 
Reply With Quote
 
 
 
 
=?Utf-8?B?bWVkaWFsaW50?=
Guest
Posts: n/a
 
      23rd Jun 2004
If you are using sendkeys then

sendkeys "^G"


"Sarena" wrote:

> I have an access database that print receipts after a
> customer makes a purchase. At the same time, I want the
> cash drawer to open up. In order to do this, I need the
> control key hit at the same time as the letter "G" or the
> ascii or hex or dec version of this. However, whenever I
> try to type control G into my code, my immediate window
> pops up and I cannot code this in.
> Any suggestions would be greatly appreciated.
> Thank you,
> Sarena
>

 
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
Can't CTRL-Break into code this time M Skabialka Microsoft Access Forms 4 8th Jun 2009 04:10 PM
Can I set ctrl+s and ctrl+o window size & ctrl+o save as type defa Moonbarker Osbourne Windows XP General 1 18th Jan 2008 02:10 PM
VSB code - 'Home' & 'CTRL+End' =?Utf-8?B?Q29yZXk=?= Microsoft Excel Misc 9 9th Feb 2006 08:10 PM
Running code from ~? Don't want to use <Ctrl><key> Patti Microsoft Excel Programming 1 27th May 2004 11:55 PM
Clipboard access using ctrl-C and ctrl-V? JustMe Microsoft Dot NET Compact Framework 3 12th Dec 2003 06:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:49 AM.