No, put this in the query underlying your second form, i.e. the query in the Record Source property of the second form.
To make it simpler, let's call them Form1 and Form2. On Form1 you will have, for example, a text box (Text1) where the selected date is entered. On Form2 the simplest method is to set it up as datasheet view then set the Record Source property to a new query. To do this, go into the property sheet for the form, click on the Record Source property, then click the little box with dots on it at the right of the dialog.
This will start a new query. Add the table you want the data to come from, then add the fields you want to display to the design grid. This will include the date field you are searching on the first form (Form1).
Under the date field in the design grid, add the code to the 'Criteria' line so that the query looks for records where the date matches the date selected on Form1. As I have changed names, the criteria would look like:
Code:
'Like [Forms]![Form1]![Text1]'.
Place a command button (Command1) on Form1 and add the following code to its OnClick event:
Docmd.OpenForm "Form2"
This will open Form2 and, if the query has been set up properly, all the records with the date matching the one in Text1 should be displayed, ready for editing. Alex Middleton