I have a "search form", which has a field with following row source:
(SELECT DISTINCTROW Main.OrderID, Main.SFPOrderID, Companies.Fullname, Main.Date, Main.RDate, Main.SDate, Main.Finished FROM Companies INNER JOIN Main ON Companies.CustomerID = Main.CustomerID
I'm trying to find all records where RDate will be less than 7 days from now. Easy to do with DateDiff, but how can i somehow mark all those rows in the field, for example make them red! Cannot find a way. Or simply display all those records, that would be good enough.
(SELECT DISTINCTROW Main.OrderID, Main.SFPOrderID, Companies.Fullname, Main.Date, Main.RDate, Main.SDate, Main.Finished FROM Companies INNER JOIN Main ON Companies.CustomerID = Main.CustomerID
I'm trying to find all records where RDate will be less than 7 days from now. Easy to do with DateDiff, but how can i somehow mark all those rows in the field, for example make them red! Cannot find a way. Or simply display all those records, that would be good enough.