I have a query that runs correctly but when I run a form with this query as the source I get no records. The query prompts me for the forms_timecardID and then Forms_combowkend which is a date. I have a feeling that it's not interpreting the comparison correctly when I enter on the form. I checked the combobox for isdate and it is. The field in the table is a shortdate. This might be where the problem lies but I can't get a handle on it.
Query:
SELECT DISTINCTROW Time Card Hours.*, [Time Card Hours].[BillingRate]*[BillableHours] AS [Hourly Billings]
FROM [Time Cards] INNER JOIN [Time Card Hours] ON [Time Cards].[TimeCardID]=[Time Card Hours].[TimeCardID]
WHERE [Time Cards].[TimeCardID]=[Forms]![TimeCardsNew]![TimeCardID] And [time card hours].[Weekending]=[forms]![TimeCardsnew]![combowkend];
I really appreciate the help..Russ
Query:
SELECT DISTINCTROW Time Card Hours.*, [Time Card Hours].[BillingRate]*[BillableHours] AS [Hourly Billings]
FROM [Time Cards] INNER JOIN [Time Card Hours] ON [Time Cards].[TimeCardID]=[Time Card Hours].[TimeCardID]
WHERE [Time Cards].[TimeCardID]=[Forms]![TimeCardsNew]![TimeCardID] And [time card hours].[Weekending]=[forms]![TimeCardsnew]![combowkend];
I really appreciate the help..Russ