I have a query that has a mind of it's own. Luckily I made a copy. The problem is: When I try to execute the query from a form or even in the database window all it does is exit the application. I can't even view it in design mode it does the same thing. I've included the code but it has absoulutely nothing to do with an exit.
SELECT DISTINCTROW [Time Card Hours].*, Projects.ProjectName, [Time Card Hours].[BillingRate]*[BillableHours] AS [Hourly Billings]
FROM Projects INNER JOIN ([Time Cards] INNER JOIN [Time Card Hours] ON [Time Cards].TimeCardID = [Time Card Hours].TimeCardID) ON Projects.ProjectID = [Time Card Hours].ProjectID
WHERE ((([Time Cards].TimeCardID)=[Forms]![TimeCardsNew]![TimeCardID]) AND ((DateDiff("y",[dateworked],Now()))<8));
Thanks..Russ
SELECT DISTINCTROW [Time Card Hours].*, Projects.ProjectName, [Time Card Hours].[BillingRate]*[BillableHours] AS [Hourly Billings]
FROM Projects INNER JOIN ([Time Cards] INNER JOIN [Time Card Hours] ON [Time Cards].TimeCardID = [Time Card Hours].TimeCardID) ON Projects.ProjectID = [Time Card Hours].ProjectID
WHERE ((([Time Cards].TimeCardID)=[Forms]![TimeCardsNew]![TimeCardID]) AND ((DateDiff("y",[dateworked],Now()))<8));
Thanks..Russ