$ 0 0 Hi, Try this: Distinct 'True' from OPCH where Datediff (Day,$[$10.0.date],getdate()) > 2 Thanks & Regards,Nagarajan