Trapping an Update

Boaz Bezborodko boaz at mirrotek.com
Sun Dec 5 08:30:12 PST 2010



On 12/4/2010 7:55 PM, Kenneth Brody wrote:
> On 12/3/2010 11:00 PM, Boaz Bezborodko wrote:
>> I'm sure that many of you probably already have this as a tool in your
>> toolbox, but I figured I'd just share a simple way I used to trap an
>> Update in a specific screen.
> [...]
>> Obviously totaling from within the record was not a good idea and I
>> wanted to have this done from within @entsel which wouldn't lock the
>> record.  But I didn't want to change the look and feel of the program
>> which entailed that people hit "U" to start the process.  I was thinking
>> of trapping "U" with an @keyU, but that meant that I would have to have
>> a different line to jump to each of the other screens someone might want
>> to update.
>
> I'm not sure what you mean by that last statement regarding @keyU.
>
> [...]
>
Ken,
I've tried trapping @keyU and then executing UPDATE to go into update 
mode, but that didn't work right.

I like the "DOKEY" suggestion and thanks for bringing it up since I had 
missed that one.

Bruce:
Thanks for the suggestion of how to do it in @entsel.  And no, I 
couldn't do it automatically because it can take 1-2 minutes to finish 
totaling up the data.

Boaz


More information about the Filepro-list mailing list