I tried that and got an error, "Operator/Operand type mismatch".
>The problem is that the filter expression, including "This.DisplayValue", remains in effect later, when "This" no longer refers to the same object. A macro substitution should work.
local lcValue
lcValue = This.DisplayValue
SET FILTER TO QUOTES.CUST_NO = &lcValue
ThisForm.Refresh()