Pushkey "[SAVE]" question
Kenneth Brody
kenbrody at bestweb.net
Wed Oct 10 10:27:54 PDT 2007
Quoting Barry Wiseman (Wed, 10 Oct 2007 13:09:45 -0400):
>
> Don Coleman wrote:
>
> [snip]
>
>> 111 ------- - - - - - - - - - - - - - - - -
>> @KEYR If: CB eq "2"
[...]
>> 69="";85="";AG="";70="";71="";DF="";DP="";DV="";EU="";display;pushk
>> ey "[SAVE]";write;close;goto @ENTSEL
>
> Don, what led you to believe you needed the pushkey "[SAVE]" in the
> first place? In my experience, when @KEY processing is triggered,
> that places you in update mode.
Correct.
> A simple END will then terminate processing and rewrite the record.
Also correct. (Well, it will write the record if you made any changes.
In either case, the record will be unlocked.)
> Are you doing something funny in @ENTSEL that the pushkey "[SAVE]" was
> fixing for you?
Also, when @KEY processing ends, @ENTSEL will be run automatically, so
the "goto @ENTSEL" is unnecessary. (In fact, as Nancy partly mentioned,
by not ENDing @KEY, and doing a GOTO @ENTSEL, you have prevented filePro
from writing and unlocking the record.)
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list