I have been working on a select query in Microsoft Access 2002, and am very close to having it do what is needed. There is one error that I am unable to resolve.
In essence, I need to find all records for the most recent date. Instead of automatically finding these records, when I run the query a box pops up asking me to enter the parameter value. I would like to avoid this box since the end user will not necessarily know the date.
Where is the error in my code?
In essence, I need to find all records for the most recent date. Instead of automatically finding these records, when I run the query a box pops up asking me to enter the parameter value. I would like to avoid this box since the end user will not necessarily know the date.
Where is the error in my code?
Code:
SELECT Record
FROM AllocationProformaFunds
WHERE EffectiveDate IN
(SELECT MAX(EffectiveDate) FROM AllocationProformaFunds)