D
Dexsquab
Guest
Hiya,
Relatively new to database development, and unable to find out how to achieve a specific result I am after.
I have a query which successfully searches through a client list and generates sub-totals of various classes. Basically, I have 180 people's details, and they all fall into twelve categories. Now, the query works fine, correctly totalling the groups and reporting them.
What I want to do is manually call the data for each element of the query to a report. Each value in the query is distinct.
For example, this is the layout of the query DC Count.
DC CountOfClient ID
1 7
2 15
3 11
4 38
... ...
12 2
What I wish to do is extract these values, individually, to unbound text boxes on a report. I've been trying something along the lines of:
SELECT [CountOfClient ID] FROM [DC Count] WHERE [DC]=1
and
=SELECT [DC Count].[CountOfClient ID] FROM [DC Count] WHERE [DC Count].DC=1
No idea where I'm going wrong, any help would be most appreciated.
Relatively new to database development, and unable to find out how to achieve a specific result I am after.
I have a query which successfully searches through a client list and generates sub-totals of various classes. Basically, I have 180 people's details, and they all fall into twelve categories. Now, the query works fine, correctly totalling the groups and reporting them.
What I want to do is manually call the data for each element of the query to a report. Each value in the query is distinct.
For example, this is the layout of the query DC Count.
DC CountOfClient ID
1 7
2 15
3 11
4 38
... ...
12 2
What I wish to do is extract these values, individually, to unbound text boxes on a report. I've been trying something along the lines of:
SELECT [CountOfClient ID] FROM [DC Count] WHERE [DC]=1
and
=SELECT [DC Count].[CountOfClient ID] FROM [DC Count] WHERE [DC Count].DC=1
No idea where I'm going wrong, any help would be most appreciated.