473,513 Members | 2,461 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems with summary reporting

76 New Member
Hello.

I have set up a report where the sum of counts of different item types are displayed in alphabetical order. Since I need to add certain ones together, but not get a complete grand total, I am trying to put text boxes together in the report footer with IIF statements, which I will then add certain boxes together to get the totals. What I have so far is...

=IIf([Item Type]="Blitzes",[Sum Of DDMS Items],"0")

Where Blitzes is the type. I'm trying to get it to display the [Sum of DDMS Items] Text Box if the type is Blitzes and display 0 if it is not. This way, I can add this text box to the one that is showing all of another item type to get that total. What am I doing wrong?

Thanks for your help.

Chuck
Feb 9 '09 #1
5 1014
puppydogbuddy
1,923 Recognized Expert Top Contributor
1. remove double quotes around the 0
=IIf([Item Type]="Blitzes",[Sum Of DDMS Items],0)
2. Is the [Sum Of DDMS Items] the name of a textbox holding a calc? If it is a calc field, I believe you need to repeat the calc (control source), not the name.
Feb 9 '09 #2
ckpoll2
76 New Member
Thanks for looking into my problem.

I removed the double quotes, but that didn't seem to do it. I'm not sure what you mean by repeating the calc (control source). Can you type out what the formula should look like for me? I'm not very good at working with access. The [Sum of DDMS Items] is the name of the text box that is holding the calculation of the sum of all the individual listings of the items.

Does that help?
Feb 9 '09 #3
puppydogbuddy
1,923 Recognized Expert Top Contributor
in this context, you can't refer to a calc field by name; you must refer to it by the contents shown in its control source property...which is the calculation, itself.

So, relace [Sum of DDMS Items] with the actual calculation formula for the sum of all the individual listings of the items.
Feb 9 '09 #4
ckpoll2
76 New Member
That didn't seem to take care of it. I have in the text box:

=IIf([Item Type]="Blitzes",Sum([DDMS Items]),0)

Where the formula Sum([DDMS Items]) is what is in the control box and still no luck. Any other ideas? I feel like I'm really close, but just missing one crucial part of it.

Thanks for continuing to help.
Feb 9 '09 #5
puppydogbuddy
1,923 Recognized Expert Top Contributor
<<<Where the formula Sum([DDMS Items]) is what is in the control box >>>
Should be: = Sum([DDMS Items]) 'need the = sign
Feb 9 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1872
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 241 open ( -6) / 2622 closed (+26) / 2863 total (+20) Bugs : 764 open ( +6) / 4453 closed (+38) / 5217 total (+44) RFE : 150 open...
0
1141
by: ichor | last post by:
hi i have a blob in my sql server database, that i would like to display on my web page.. i have 2 problems with this. 1). i am able to display it but i cant add any text in the page. 2) also i...
2
3239
by: Tamlin | last post by:
Hi all, I'm getting a bug with the datagrid object. I've created one from scratch, bound it to a dataview with 2 int32 columns and formatted the output as currency. I've found that when you...
4
1917
by: Tressa | last post by:
I have a messagebox that I only want to pop up only if it is not already being displayed on the screen. My code is still poping up the messagebox even though it is on the screen. What am I doing...
5
2139
by: Chua Wen Ching | last post by:
Hi, I read from this tutorial at codeproject Question A: http://www.codeproject.com/csharp/GsXPathTutorial.asp regarding xpath.. but i try to apply in my situation, and can't get it...
0
1745
by: Rick Hein | last post by:
I've got a problem with an app I've been working on, the Caching object and events not firing correctly. In a nutshell: When I'm debugging, and I set a breakpoint in the removed item call back, the...
1
2433
by: randyse | last post by:
Hello all, This is my first post, please let me know if I've missed any relevant data or guidelines. I'm using Access 2003 for the database and Excel 2003 for the reporting to avoid having...
1
4730
by: annemariearmour | last post by:
I am using Crystal reports version 11.2 to create reports. The data source is SQL Server, and I am using views rather than reporting directly from tables. I apply selection criteria to the incoming...
0
7260
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7539
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
5089
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4746
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3234
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1596
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
456
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.