clear/flush @bk
Kenneth Brody
kenbrody at spamcop.net
Wed Sep 5 07:01:14 PDT 2012
On 9/4/2012 5:16 PM, Tom Aldridge wrote:
> On 9/4/2012 3:13 PM, Kenneth Brody wrote:> On 9/4/2012 4:00 PM, Tom Aldridge
> wrote:
> >> Is there a way to clear the value of @bk?
> >>
> >> E.g. msgbox presents a Y/N question. Answer is N.
> >> Next field presents the same question.
> >> @bk already filled with N.
> >>
> >> I know an input popup could be used and then the var could be cleared.
> >> Is that recommended or is there a way to clear the value of @bk (other
> >> then exiting processing).
> >
> > Why do you need to clear it? Just ask the question again, and mesgbox
> > will set @BK to the new value.
> >
>
> Do a lookup
> If no records found, do you want to add a record? Y/N.
> Answer is N
> Move to next field.
> Do a lookup
> If no records found, do you want to add a record? Y/N
>
> Answer is already "N"
>
> Wanting @bk reset after the first question.
What do you mean "answer is already 'N'"? Yes, @BK contains "N", but so
what? Once you execute the second mesgbox, the previous value of @BK is
gone, and it will be set to the answer of the second mesgbox.
--
Kenneth Brody
More information about the Filepro-list
mailing list