I have a query that joins three tables. The join query, invoices, has a date field. I have a form with two text boxes. The only thing i've done to these boxes is name them, startdate and enddate. I saved the form as DateRange. My query, invoices, has the following criteria for the date field, Between [Forms]![DateRange]![startdate] And [Forms]![DateRange]![enddate]. Then I have a report that uses the invoices query. I also have a text box who's control is set to: =[Forms]![DateRange]![StartDate]. I have a corresponding text box for the enddate. The purpose is to have the report print the date ranges used in the report. However, everytime I run the report I get the error message #name?. What could I be doing wrong? Do I need to change the properties of the form or the control or use VBA or something?