If I add a value between the last 2 parethesis it return that value, otherwise it simply leaves it blank.
What I need to do is analyse the values in each column and depict the results in the rows underneath each group under the detail (i.e. in the group break footer)
Does anyone know how I can do this??
Perhaps I am taking the wrong approach?
If I was to calculate the values in using a series of queries could I then add them into the footer will they group/break the same away (asuming I use the same criteria) within the report ie will my calculated values for LPG 1 be in the footer of LPG1 in the 1st report and LpG2 in LPGfooter 2 etc etc?
This is a reply to another of your threads with I assume the same issue.
[Green]A push into the proper direction. I assume the report is based on BHtest1CrossQueryRep. To sum the values in a field named [1] where a field name [LD]="AOP" you can use this expression:
=Sum( Abs([LD]="AOP" * [1]) )
This is much more efficient than
=DSum("[1]","BHtest1CrossQueryRep","[LD]='AOP'"
Also note the differences between my DSum() syntax and your attempt. [/Green]
Duane
MS Access MVP
Find out how to get great answers faq219-2884.
Duane, I do see the difference in my Syntax for my DSum I will keep that in mind for the future.
I now have the calculations working fine for the other issue also using your abs formula, I assume this takes the[Plan] record (i.e. 1) and multiplies it by the value field [1]. So this would not work if there was more than 1 [Plan] record in that group?? That is fine for this excercise but I just want to get my head around it.
Thanks for all those that helped, you are godsends!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.