lets say I have the query:
when a user runs the query i want them to be prompted for the dates, which works.
question - Can i call this query from VBA and pass in values for these so that the vba is not prompted for the dates?
Code:
SELECT *
FROM tblSample
WHERE tblSample.date Between [Begin Date] And [End Date];
when a user runs the query i want them to be prompted for the dates, which works.
question - Can i call this query from VBA and pass in values for these so that the vba is not prompted for the dates?