Why is this record being saved?
Barry Wiseman
barry at gensoftdes.com
Tue Mar 21 11:19:06 PST 2006
bobsimcoe at adelphia.net wrote:
> ---- Howard Wolowitz <howiewz at beonthenet.com> wrote:
>
>>----- Original Message -----
>>From: "Barry Wiseman" <barry at gensoftdes.com>
>>To: "filePro list" <filepro-list at lists.celestial.com>
>>Sent: Tuesday, March 21, 2006 12:46 PM
>>Subject: Re: Why is this record being saved?
>>
>>
>>
>>
>>I have the following code fragment:
>>100 @KEY$::input popup yn "Update cost (y/n) ? ":
>>101 :yn ne "Y":end:
>>102 ::popup update -,"A2":
>>103 :@sk eq "BRKY":clearp; end:
>>104 ::clearp; gosub updcost; goto exit:
>>
>
>
> Barry,
>
> I'm not sure, but I think it has something to do with the mode your in. When you Hit U, to update a record, anything you type in any field will be updated if you enter ESCAPE. If you Break, nothing you entered will be recorded. If you are on a record, as in your case, and use the @key with any key other than U, what you enter in any field on any screen seems to be recorded.
>
> Bob Simcoe
In my situation, the record is unconditionally rewritten only if field(s) on the
popup screen are updated by WLF processing. If fields on the popup screen are
updated from the keyboard only, then those changes are properly discarded if I press
Break. See the simplified example and test set I just posted.
-----------------------------------------------------------------
Barry Wiseman barry at gensoftdes.com
Genesis Software Designs, Inc. Voice: (212) 889-9191
18 E. 41 Street, New York, NY 10017 Fax: (212) 889-1589
-----------------------------------------------------------------
More information about the Filepro-list
mailing list