G
Guest
Hi everyone
This is my headace:
Have a subreport based on a qry with values sorted by staus, approved and
not approved.
In the footer of the subreport i will use a formula in a text box to
calculate sum of prices for each of approved and not approved. Can i use Dsum
and do somthing like this for approved:
=DSum("[avanse pr firma-eppriser]![eppriser]";"[avanse pr
firma-eppriser]";"[Status]='Godkjente tillegg'")
where
"avanse pr firma-eppriser" is the subreport
"eppriser" is the the price field i want to sum
"status" is the criteria the the values are sorted by in the qry.
It dont work for me, only get error message. What do I do wrong?
This is my headace:
Have a subreport based on a qry with values sorted by staus, approved and
not approved.
In the footer of the subreport i will use a formula in a text box to
calculate sum of prices for each of approved and not approved. Can i use Dsum
and do somthing like this for approved:
=DSum("[avanse pr firma-eppriser]![eppriser]";"[avanse pr
firma-eppriser]";"[Status]='Godkjente tillegg'")
where
"avanse pr firma-eppriser" is the subreport
"eppriser" is the the price field i want to sum
"status" is the criteria the the values are sorted by in the qry.
It dont work for me, only get error message. What do I do wrong?