claufranck
IS-IT--Management
Here is the query:
PARAMETERS date_start Text ( 255 ), date_end Text ( 255 );
SELECT DISTINCTROW Count(*) AS [SOE Count], SOE.SOE, Proposal_all.Subm_date, CDate([date_start]) AS start_date, CDate([date_end]) AS end_date
FROM SOE INNER JOIN (Proposal_all INNER JOIN prop_soe ON Proposal_all.Catalog_no = prop_soe.Id_prop) ON SOE.Id_soe = prop_soe.Id_soe
WHERE (((Proposal_all.Subm_date) Between CDate([date_start]) And CDate([date_end])))
GROUP BY SOE.SOE, Proposal_all.Subm_date
ORDER BY Count(*) DESC;
I need to add to the select a way to count the total number of SOE's, right now I get the number of soe per propoposal I would like to get to total as well could sum all of the soe's?
Al so I need the total number of proposals or results.
Maybe in the query or using an expression or some vba code, but I would rather use a query or be able to use 2 query's on the same form without using subforms because it is a continous form.
Thank you
PARAMETERS date_start Text ( 255 ), date_end Text ( 255 );
SELECT DISTINCTROW Count(*) AS [SOE Count], SOE.SOE, Proposal_all.Subm_date, CDate([date_start]) AS start_date, CDate([date_end]) AS end_date
FROM SOE INNER JOIN (Proposal_all INNER JOIN prop_soe ON Proposal_all.Catalog_no = prop_soe.Id_prop) ON SOE.Id_soe = prop_soe.Id_soe
WHERE (((Proposal_all.Subm_date) Between CDate([date_start]) And CDate([date_end])))
GROUP BY SOE.SOE, Proposal_all.Subm_date
ORDER BY Count(*) DESC;
I need to add to the select a way to count the total number of SOE's, right now I get the number of soe per propoposal I would like to get to total as well could sum all of the soe's?
Al so I need the total number of proposals or results.
Maybe in the query or using an expression or some vba code, but I would rather use a query or be able to use 2 query's on the same form without using subforms because it is a continous form.
Thank you