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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query Filter Question

Status
Not open for further replies.

avagodro

Technical User
Aug 12, 2005
83
US
I have a query that I have that generates a report from one particular form that is opened.
I have several different forms that have the main form and a subform within the form. The subform on each is what is different. I would like to have it so that it can generate the report from any of the forms.
The problem that I have is that the particular field that the query is using is in the subform. The criteria that I have in the query is: [Forms]![Hotels_Customers_pending]![Complaints Subform].[Form]![ComplaintID]

Is there a way that I could "eliminate" the [Forms]![Hotels_Customers_pending] portion? All of the subforms are named [Complaints Subform].
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top