Hi out there,
i do have a form with 2 textboxes, in this textboxes you can enter dates, a start date and a end date. I want access to look up only the records that are in between that dates, here is my SQL Statement:
SELECT [Material Issue].[Quantity], [Inventory Control].[Description], [Inventory Control].[Lot], [Material Issue].[Location Code], [Material Issue].[Issue Date]
FROM [Material Issue] INNER JOIN [Inventory Control] ON [Material Issue].[ID]=[Inventory Control].[ID]
WHERE ((([Forms]![queryTimeintervallIssue]![tbStartdate])>=[Material Issue]![Issue Date]) AND (([Forms]![queryTimeintervallIssue]![tbEnddate])<=[Material Issue]![Issue Date]));
i do not know why that doen"t work, any one a idea?
thanks
Traden
i do have a form with 2 textboxes, in this textboxes you can enter dates, a start date and a end date. I want access to look up only the records that are in between that dates, here is my SQL Statement:
SELECT [Material Issue].[Quantity], [Inventory Control].[Description], [Inventory Control].[Lot], [Material Issue].[Location Code], [Material Issue].[Issue Date]
FROM [Material Issue] INNER JOIN [Inventory Control] ON [Material Issue].[ID]=[Inventory Control].[ID]
WHERE ((([Forms]![queryTimeintervallIssue]![tbStartdate])>=[Material Issue]![Issue Date]) AND (([Forms]![queryTimeintervallIssue]![tbEnddate])<=[Material Issue]![Issue Date]));
i do not know why that doen"t work, any one a idea?
thanks
Traden