Another thought to maybe clarify....
Once I have the report built, can I have a drop down box in a report and
have the report change after I select a different farmer name in the box?
Well, this is not what you asked for in your initial post.
Now you wish to be able to select the name of the person you wish to
report on, using a drop-down list.
You cannot use a drop-down list directly in the query (that is used as
the report's recordsource).
Create an unbound form.
Add a combo box.
Set the Row Source of the combo box to include the
FarmerID field and the Farmer Name.
Name the Combo Box 'FindFarmer'.
Set it's Bound column to 1.
Set it's Column Count property to 2.
Set the Column Width property to 0";1"
*** Optional if you wish to limit records by date
*** Add 2 unbound text controls to the form
*** Set their format to a valid date format.
*** Name them "StartDate" and "EndDate"
*** Optional
Add a Command Button to the form.
Code the button's click event:
Me.Visible = False
Name this form 'ParamForm'.
In the Query that is the Report's Record Source [FarmerID] field
criteria line write:
forms!ParamForm!FindFarmer
*** Optional if you wish to limit records by date
*** As criteria in the query date field write:
Between forms!Paramform!StartDate and forms!ParamForm!EndDate
*** Optional
Next, code the report's Open event:
DoCmd.OpenForm "ParamForm", , , , , acDialog
Code the report's Close event:
DoCmd.Close acForm, "ParamForm"
When ready to run the report, open the report.
The form will open and wait for the selection of the Farmer and the
entry of the starting and ending dates wanted.
Click the command button and then report will run.
When the report closes, it will close the form.