<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<BR>Bob:<BR>
<BR>
; to break the entry cycle issue a warning<BR>
<BR>
PROCEDURE PREUPDATE<BR>
BEGIN <BR>
PUSH FIND<BR>
WARNING " " ; creates the effect of US<BR>
END<BR>
<BR>
<BR>
In QKGO SET the command for update return to lower case ur.<BR>
In QKGO set UPSHIFT ACTION commands.<BR>
The above takes UR out of the list of actions.<BR>
<BR>
PROCEDURE DESIGNER UR<BR>
BEGIN<BR>
PUSH UPDATE STAY, RETURN<BR>
END<BR>
<BR>
In each screen where you want UR you must add the designer procedure.<BR>
<BR>
Regards,<BR>
Peter Bateman<BR>
<BR>
<BR>
<BR>
<BR>
> To: <A href="mailto:Ken@Langendock.com">Ken@Langendock.com</A>; wonicon@optusnet.com.au<BR>> Subject: RE: In Update procedure<BR>> From: Bob.Deskin@ca.ibm.com<BR>> Date: Wed, 23 Sep 2009 11:32:44 -0400<BR>> CC: powerh-l-bounces+bob.deskin=ca.ibm.com@lists.sowder.com; powerh-l@lists.sowder.com<BR>> <BR>> There's no direct way to know what the user entered. In most cases it's <BR>> obvious from the executed procedure.<BR>> <BR>> For the question Jeff asked, try this:<BR>> <BR>> screen a<BR>> file file_a<BR>> gen<BR>> subscreen b<BR>> build<BR>> screen b<BR>> file file_b<BR>> gen<BR>> procedure preupdate<BR>> push find<BR>> build<BR>> <BR>> Get into screen A and do a find. Then call screen B. In screen B, find a <BR>> record and make a change. Now try your various update commands. You'll see <BR>> (hopefully as in my quick tests) that entering U, US, or UN results in a <BR>> Find whereas UR gets you back to screen A sitting in the action field.<BR>> <BR>> If entry is allowed on screen B, it's trickier. Basically, you're allowing <BR>> one entry cycle but after the update you're going into find or leaving the <BR>> screen. I couldn't think of a simple way to do this without modifying the <BR>> ENTRY procedure using a flag to condition processing. Maybe someone else <BR>> can come up with something.<BR>> <BR>> Bob<BR>> <BR>> <BR>> <BR>> <BR>> <BR>> From:<BR>> "Ken Langendock" <ken.langendock@rogers.com><BR>> To:<BR>> <powerh-l@lists.sowder.com><BR>> Date:<BR>> 2009-09-23 09:53 AM<BR>> Subject:<BR>> RE: In Update procedure<BR>> Sent by:<BR>> powerh-l-bounces+bob.deskin=ca.ibm.com@lists.sowder.com<BR>> <BR>> <BR>> <BR>> From what I have found out no, but Bob can confirm.<BR>> <BR>> This would be a nice new feature for the next release Bob. A new <BR>> predefined<BR>> variable COMMANDENTERED or something like that?<BR>> <BR>> Ken<BR>> <BR>> -----Original Message-----<BR>> From: powerh-l-bounces+ken.langendock=rogers.com@lists.sowder.com<BR>> [mailto:powerh-l-bounces+ken.langendock=rogers.com@lists.sowder.com] On<BR>> Behalf Of Jeff Hoffman<BR>> Sent: September 23, 2009 9:42 AM<BR>> To: powerh-l@lists.sowder.com<BR>> Subject: [Bulk] In Update procedure<BR>> <BR>> Hi Guys<BR>> <BR>> Is there any way of telling in the update procedure if it was <BR>> triggered by U, US, UN or UR?<BR>> <BR>> Reason is that for U, US or UN we want to push a find, UR to work as <BR>> usual.<BR>> <BR>> Thanks<BR>> <BR>> Jeff<BR>> <BR>> <BR>> <BR>> -- <BR>> = = = = = = = = = = = = = = = = = = = = = = = = = = = =<BR>> Mailing list: powerh-l@lists.sowder.com<BR>> Subscribe: 'subscribe' in message body to <BR>> powerh-l-request@lists.sowder.com<BR>> Unsubscribe: 'unsubscribe &lt;password&gt;' in message body to <BR>> powerh-l-request@lists.sowder.com<BR>> http://lists.sowder.com/mailman/listinfo/powerh-l<BR>> This list is closed, thus to post to the list you must be a subscriber.<BR>> Add 'site:lists.sowder.com powerh-l' to your search terms to search the <BR>> list archive at Google.<BR>> <BR>> <BR>> <BR>> -- <BR>> = = = = = = = = = = = = = = = = = = = = = = = = = = = =<BR>> Mailing list: powerh-l@lists.sowder.com<BR>> Subscribe: 'subscribe' in message body to powerh-l-request@lists.sowder.com<BR>> Unsubscribe: 'unsubscribe &lt;password&gt;' in message body to powerh-l-request@lists.sowder.com<BR>> http://lists.sowder.com/mailman/listinfo/powerh-l<BR>> This list is closed, thus to post to the list you must be a subscriber.<BR>> Add 'site:lists.sowder.com powerh-l' to your search terms to search the list archive at Google.<BR><BR>                                            <br /><hr />Internet Explorer 8 makes surfing easier. <a href='http://go.microsoft.com/?linkid=9655264' target='_new'>Get it now! </a></body>
</html>