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