clear/flush @bk

Kenneth Brody kenbrody at spamcop.net
Wed Sep 5 13:10:27 PDT 2012


On 9/5/2012 4:01 PM, Tom Aldridge wrote:
> On 9/5/2012 1:20 PM, Kenneth Brody wrote:
>> On 9/5/2012 1:57 PM, Tom Aldridge wrote:
[...]
>>> 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"?
>>
>
> Sorry, just knee deep into things. Thanks for your assistance by the way.
>
> Here is the way it was, and below that, they way it is now.
[...]
> If  : not mealacntdet
> Then: cls("22"); msgbox "No \r Meal \r Records Exist. Add Record?","Y/N","yn"
> If  : @bk eq "N"
> Then: end
[...]

Ah...  You forgot to mention the all-critical "sometimes I don't execute the 
MSGBOX statement, yet I still check @BK anyway" part.

If you don't execute the MSGBOX statement, then skip the @BK check, and do 
whatever you need to do.

-- 
Kenneth Brody


More information about the Filepro-list mailing list