Alright, I have ten different queries. Here is the SQL for one of them.
SELECT [DCU LOG].[Doc#], [DCU LOG].JCN, [DCU LOG].[PART NO], [DCU LOG].SERNO, [DCU LOG].[JD T/I], [DCU LOG].MCN, [DCU LOG].PC, [DCU LOG].STATUS, [DCU LOG].REMARKS, *
FROM [DCU LOG]
WHERE ((([DCU LOG].[JD T/I]) Between [Enter BCM1 Start Date] And [Enter BCM1 End Date]) AND (([DCU LOG].STATUS) Like "BCM1" AND (Not ([DCU LOG].[JC JD]) Is Null));
The other nine are the same, except I need the different Status's (RFI, BCM1, BCM2, and so on.). Notice I also query these by date. When I do my reports, I need all the info from all these different queries, and the only information that changes is the Status. The date would be the same for each set of results. I am creating a form/report that will display the results (and some other stuff) from all of these queries. Is there a way that I can get the info from these queries all at the same time without having to type in the dates over and over again for each Query?
Thanks ahead of time,
Gene
SELECT [DCU LOG].[Doc#], [DCU LOG].JCN, [DCU LOG].[PART NO], [DCU LOG].SERNO, [DCU LOG].[JD T/I], [DCU LOG].MCN, [DCU LOG].PC, [DCU LOG].STATUS, [DCU LOG].REMARKS, *
FROM [DCU LOG]
WHERE ((([DCU LOG].[JD T/I]) Between [Enter BCM1 Start Date] And [Enter BCM1 End Date]) AND (([DCU LOG].STATUS) Like "BCM1" AND (Not ([DCU LOG].[JC JD]) Is Null));
The other nine are the same, except I need the different Status's (RFI, BCM1, BCM2, and so on.). Notice I also query these by date. When I do my reports, I need all the info from all these different queries, and the only information that changes is the Status. The date would be the same for each set of results. I am creating a form/report that will display the results (and some other stuff) from all of these queries. Is there a way that I can get the info from these queries all at the same time without having to type in the dates over and over again for each Query?
Thanks ahead of time,
Gene