You might like to take a look at DatabaseBasics.zip in my public databases folder at:
https://onedrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
If you have trouble downloading a specific file, clicking on the 'Download' button at the top of the page while no files are selected should download a zip file of all files in the folder, from which you should then be able to unpack the relevant file.
This little demo file includes an option:
9. Returning rows within a date range defined by parameters
This illustrates a query which references two unbound text boxes in a form as parameters to define a date range. This allows you to define any period of time, but a range of one month can defined by the first and last day of the month, each of which can be selected by means of the data picker. The query is:
PARAMETERS Forms!frmDateRange!txtStartDate DATETIME,
Forms!frmDateRange!txtEndDate DATETIME;
SELECT TransactionDate, FirstName, LastName, TransactionAmount
FROM Customers INNER JOIN Transactions
ON Customers.CustomerID = Transactions.CustomerID
WHERE TransactionDate >= Forms!frmDateRange!txtStartDate
AND TransactionDate < Forms!frmDateRange!txtEndDate + 1
ORDER BY TransactionDate;