T
Tim Johnson
I copied the SQL statement below directly from the SQL
view of the query window.
I would like to use it in a procedure but cannot get the
correct string formatting for me to use it to open a
recordset with codes.
Thanks for any help.
SELECT Sum(tblDonationsDetails.Amount) AS SumOfAmount
FROM tblDonationsDetails
WHERE (((DatePart("yyyy",[DonationsDate]))=[Forms]!
[frmGrandTotals]![FiscalYear]));
view of the query window.
I would like to use it in a procedure but cannot get the
correct string formatting for me to use it to open a
recordset with codes.
Thanks for any help.
SELECT Sum(tblDonationsDetails.Amount) AS SumOfAmount
FROM tblDonationsDetails
WHERE (((DatePart("yyyy",[DonationsDate]))=[Forms]!
[frmGrandTotals]![FiscalYear]));