<div dir="ltr">I already use the <span class="" id=":1br.1" tabindex="-1">entsel</span> process but I did what you suggested and it sort of works.<div>The problem I have is that it only works the first time on the record i am on. </div><div><br></div><div>Here is the logic.</div><div>I use @key? and open a browse. I pick a record and zoom to the record in the <span class="" id=":1br.2" tabindex="-1">lookup</span>. I finish the update and exit which then brings me back to the browse window. At this point I would either exit out of browse window or select another record. </div><div><br></div><div>The problem is if I either exit out of the browse or select another record the @<span class="" id=":1br.3" tabindex="-1">entsel</span> does not occur again. Is there some kind of reset command I could use to invoke the @<span class="" id=":1br.6" tabindex="-1">entsel</span>?</div><div><br></div><div>Thanks</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 15, 2014 at 6:30 PM, Kenneth Brody <span dir="ltr"><<a href="mailto:kenbrody@spamcop.net" target="_blank">kenbrody@spamcop.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10/15/2014 3:57 PM, Rami Mantoura wrote:<br>
</span><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All,<br>
<br>
I have a question regarding FP behavior.<br>
<br>
If you are using an @key??? and you "zoom" to another file it seems to lock<br>
the record even though you don't go into update mode. Is there a way of not<br>
having that record locked. The reason I am asking is because I need to post<br>
back to that record.<br>
</blockquote>
<br></div></div>
You entered update mode when the @KEY event was triggered.<br>
<br>
If you need to allow some other process to update the file, and your @KEY handler won't make any changes, there are several solutions. A common one is to set a flag in your @KEY event, and then end. Then, have your @ENTSEL handler check that flag and do whatever you need done, such as your SYSTEM command.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Kenneth Brody<br>
</font></span></blockquote></div><br></div>