Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report thinks it is a parameter query. How do I fix it?

Status
Not open for further replies.

rccline

Technical User
Jun 13, 2002
341
US
I am trying to create a report that is based on a query.
For the control, I want a control that prints FirstName " " LastName.

In design view, I enter this into the control source of the property fields:

=[QryContacts]![FirstName] And [QryContacts]![LastName]

When I change to report view, I am prompted for QryContacts ParameterQuery.

If I leave the Parameter query blank and click OK, I get a report with error.

What is the problem?

Thanks.
Robert

 
=[FirstName] & " " & [LastName]

As an alternative, you could add an extra field in your query that concatenates the first name and last name (you don't have to include the individual fields as columns in the query)

Name:[FirstName] & " " & [LastName]

Then, bring the name field into your report.

HTH
 
That worked. If I try and use the 'build tool, it brings in the fields structured like this: =[QryContacts]![FirstName]
...which don't work.

I'm confused. Why doesn't the build tool work?

Thanks.

Robert
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top