Hi,
It's a bit hard to explain, but can anyone help me with producing an invoice report?
I'm trying to insert a query for each company invoice that shows a summary of the messages they've sent. I've written the queries but I'm asked each time I run them to enter the ID to select the data from, so I guess when I insert this query into the report, or insert a subreport based on this query, it cannot reference it (even though the id is already used in the report to identify the company)
I'm trying to insert this total on each company report:
SELECT Count([id]) AS emailandnumber
FROM Mar_02
WHERE [mar_02].[id]=[company].[id] And ( Is Not Null And [mobile] Is Not Null);
Any help appreciated.
Guy
It's a bit hard to explain, but can anyone help me with producing an invoice report?
I'm trying to insert a query for each company invoice that shows a summary of the messages they've sent. I've written the queries but I'm asked each time I run them to enter the ID to select the data from, so I guess when I insert this query into the report, or insert a subreport based on this query, it cannot reference it (even though the id is already used in the report to identify the company)
I'm trying to insert this total on each company report:
SELECT Count([id]) AS emailandnumber
FROM Mar_02
WHERE [mar_02].[id]=[company].[id] And ( Is Not Null And [mobile] Is Not Null);
Any help appreciated.
Guy