clear/flush @bk

Kenneth Brody kenbrody at spamcop.net
Wed Sep 5 11:20:56 PDT 2012


On 9/5/2012 1:57 PM, Tom Aldridge wrote:
> On 9/5/2012 9:01 AM, Kenneth Brody wrote:
>> On 9/4/2012 5:16 PM, Tom Aldridge wrote:
[... mesgbox and @bk ...]
>>> 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.
>
> Sorry I didn't explain it sufficiently in my example, but Richard Kreiss'
> answer of setting another variable and testing for that, solved the problem.
> Thanks.

Although you have found something with "works", we still have no clue as to 
what your problem was, nor why Richard Kreiss' answer "worked".

Can you please "explain it sufficiently"?

-- 
Kenneth Brody


More information about the Filepro-list mailing list