Frank,
And pray that no other events that might during this time rely on the value of hasnavstand...
>Because the code will only execute when thisform.hasnavstand=.T., you can use this kludge:
>
>
>LOCAL llHasNavStand, luResult
>
>llHasNavStand=thisform.hasnavstand
>thisform.hasnavstand=.F.
>luResult=DODEFAULT()
>thisform.hasnavstand=llHasNavStand
>
>RETURN luResult
>