![]() |
| The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
|
Post Reply
|
| Author | |
LiveBlues
Groupie
Joined: February 28 2005 Status: Offline Points: 93 |
Post Options
Thanks(0)
Quote Reply
Topic: Another of my favoritesPosted: March 15 2006 at 4:28pm |
|
Since my carrier tracking program received such rave reviews, I thought that I would share another little (and I mean little) trick that I use all the time.
I'm not an accountant and never became proficient with a 10 key. I use the Windows calculator all the time. I found that I hated the have to switch from the keyboard to the mouse and then click Start>Run>calc, or worse, try and find it in the program list. Try this instead.
Compile and catalog it, then entering CALC at the TCL prompt pops up the Windows calculator. I have also managed to incorporate this into the order entry system so that at the product input prompt and the bottom line prompts, the CSR's can enter CALC and get the calculator. They use it all the time. Come on folks, I can't be the only one. Let's get this forum rocking and turn it into a vast repository of Accuterm knowledge! Pete has given us the tool. It's up to us to wring everything out of it that we possibly can! |
|
![]() |
|
pcmjoe
Beta Tester
Joined: February 05 2004 Location: United States Status: Offline Points: 32 |
Post Options
Thanks(0)
Quote Reply
Posted: June 01 2006 at 2:58am |
|
That is a great and easy utility! However, when I do this I get the dos cmd window as well as the calculator. Any info on how to prevent the cmd window from appearing???
Thanks Joe |
|
![]() |
|
LiveBlues
Groupie
Joined: February 28 2005 Status: Offline Points: 93 |
Post Options
Thanks(0)
Quote Reply
Posted: June 01 2006 at 7:32am |
|
I haven't had that problem with it, so I don't have an answer to your problem.
Maybe Pete knows? |
|
![]() |
|
pcmjoe
Beta Tester
Joined: February 05 2004 Location: United States Status: Offline Points: 32 |
Post Options
Thanks(0)
Quote Reply
Posted: June 02 2006 at 3:37am |
|
I took another look at the program and found my problem. The 'CR' variable had not been defined so I quickly entered another line in the program but assigned it to CHAR(12) which Form Feed instead of CHAR(13) which is Carriage Return. Problem solved!!!
|
|
![]() |
|
LiveBlues
Groupie
Joined: February 28 2005 Status: Offline Points: 93 |
Post Options
Thanks(0)
Quote Reply
Posted: June 02 2006 at 11:39am |
|
Oops, I forgot to add that line in when I posted the code (I usually just have an include that defines all those variables). I'm glad that you were able to figure it out. Enjoy!
|
|
![]() |
|
Elsifer
Newbie
Joined: August 10 2006 Location: United States Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: August 10 2006 at 3:40am |
|
Is there a way to return the number you come up with in Calc to the calling program? That could be huge!
|
|
![]() |
|
PSchellenbach
Admin Group
Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
Quote Reply
Posted: August 10 2006 at 5:58am |
|
Hi All -
To return the value back to AccuTerm you would need to copy it to the clipboard. Looks like Calc will copy the answer using Ctrl+C without first selecting the data. You can either use Edit->Paste in AccuTerm to copy the answer back to the host program, or you can automate this by calling ATGETCLIP in your host program to return the clipboard contents. ATGETCLIP is one of the sample subroutines that is included with AccuTerm - look in the ...\Atwin\Samples\Pickbp folder. Thanks, Pete |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |