When I use the filter by form option to filter my query, it creates an SQL statement to tell the query what to use as filters. Is there anyway to show the SQL results in a text box in a report. An example SQL Statement looks like this:
SELECT *
FROM [Parts 2 Query]
WHERE ((([Parts 2 Query].Dept)=400) AND (([Parts 2 Query].Geography)="UNDERHOOD"));
The parts in Bold are the ones that I want to read into my report.
Can anybody help me with this?
SELECT *
FROM [Parts 2 Query]
WHERE ((([Parts 2 Query].Dept)=400) AND (([Parts 2 Query].Geography)="UNDERHOOD"));
The parts in Bold are the ones that I want to read into my report.
Can anybody help me with this?