Access 97's Help article on ControlSource Property says you can set a text box value with an SQL statement, but it doesn't give an example of the syntax for this. I have tried numerous ways, including multiple quotation marks, equal signs and parentheses, and searched for the answer but come up dry. Does anyone know the syntax for doing this? In my current case, the record source for the report is simply a table, and I want to set a text equal to: "select count(field) from table where otherfield = "resolved";" Thanks.