P
Padma Sri
Hi
I have an Access 2002 report based off a tree-level
structure. I use a query to get the report. I need to get
a group-level sum of all the records where the parent
name = group name. The problem is Dsum does not work for
me in Access, even though my syntax is right. I et a
#error
So can you suggest a solution using the iif condition or
a macro or event to get the result. In SQL, the query
would look like:
select sum(sales)
where pname = gname
group by gname;
But in the report I still want to show all the other
records also belonging to the group.
I would appreciate your help immensely.
Thanks!
I have an Access 2002 report based off a tree-level
structure. I use a query to get the report. I need to get
a group-level sum of all the records where the parent
name = group name. The problem is Dsum does not work for
me in Access, even though my syntax is right. I et a
#error
So can you suggest a solution using the iif condition or
a macro or event to get the result. In SQL, the query
would look like:
select sum(sales)
where pname = gname
group by gname;
But in the report I still want to show all the other
records also belonging to the group.
I would appreciate your help immensely.
Thanks!