Update Stay
Bob Deskin
Bob.Deskin at ca.ibm.com
Thu Jun 4 13:51:48 CDT 2009
Unless someone's found a back door or a hack, there's no way to intercept
a QUICK command. However, there is a sneaky way to possibly do what you
want. The downside is that it will affect every screen.
Normally, QUICK commands are case insensitive. Plus, they are checked
first when you enter something in the action field. So even if you create
a DESIGNER procedure named US, the QUICK command US comes first.
The way around this is to use QKGO. First make sure that Upshift Actions
is set to Y in the Execution-Time Parameters screen. Next go to the Action
Field Commands screen and change the Update Stay command to lower case us.
It can actually be any lower case characters but I like to use us so that
it reminds me of what I'm trying to hide.
At this point, if the user entered us or US, they would get an Unknown
Command message because whatever they enter is upshifted but the command
is in lower case.
Now write a DESIGNER procedure named US. You can either code your special
US logic in the designer procedure or set a flag that you can test in the
PREUPDATE. Also, code a PUSH UPDATE STAY so that you get the same command
execution as the user entered.
The downside is that this will affect every screen using this QKGO file.
So you'll have to code a US designer procedure with PUSH UPDATE STAY.
Bob
From:
Karen Barrett <kbarrett00 at hotmail.com>
To:
PowerhouseList Post <powerh-l at lists.sowder.com>
Date:
06/04/2009 02:32 PM
Subject:
Update Stay
Hi All,
I don't see it anywhere in the documentation but what I would like to do
is put some conditional processing in the preupdate module if the user has
entered US but not U or UN or UR.
Has anyone found a little trick for this? US keeps the record buffers but
that does not help me until postupdate right?
Thanks,
Karen Barrett
Elk Point, SD
Insert movie times and more without leaving Hotmail®. See how.--
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l at lists.sowder.com
Subscribe: 'subscribe' in message body to
powerh-l-request at lists.sowder.com
Unsubscribe: 'unsubscribe <password>' in message body to
powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the
list archive at Google.
More information about the powerh-l
mailing list