(Empty(?ThisForm.Customer) or ?ThisForm.Customer= Ordhead.customerid)As stated previously, empty is not rushmore optimizable, therefore how do I change this to return the same info. I am rewriting the queries in VFP 9 and wish to get the same results.