473,396 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Adding Subreport Subtotals on the main form

43
Hi,

I have two subreports on my report and they both have a subtotal in the subreport footer section.

I have managed to work out how to call the subtotals in to the main form:

Expand|Select|Wrap|Line Numbers
  1. =[Reports]![rptInvoice]![tblToursOffered subreport].[Report].[Text12]
Expand|Select|Wrap|Line Numbers
  1. =[Reports]![rptInvoice]![tblAdditionalCosts subreport].[Report].[Text14]
But I have no idea how I add them now.

i have tried a simple Sum function but with no luck.

Any help much appreciated.

Many thanks in advance

Edd
Apr 14 '07 #1
8 2501
MMcCarthy
14,534 Expert Mod 8TB
Try this ...

Expand|Select|Wrap|Line Numbers
  1. =[Reports]![rptInvoice]![tblToursOffered subreport].[Report].[Text12] + [Reports]![rptInvoice]![tblAdditionalCosts subreport].[Report].[Text14]
  2.  
Mary
Apr 16 '07 #2
NeoPa
32,556 Expert Mod 16PB
Please visit this thread to see why we would rather you didn't double-post (Please do Not Double Post ).
This question has been asked and answered in another of your threads. Please understand that this wastes our time and reduces our ability to answer other members' threads (Problem Totalling Subreport on Main form).
Apr 18 '07 #3
xian2
43
Hi,

Sorry I wasnt intending to double post, I started the second post because I was technically asking a second question in the first post so thought it better to start it in a new post for anyone searching in the future.

Sorry, it wont happen again, and thanks for all your great help on all my questions NeoPa and Mary especially.

Edd
Apr 18 '07 #4
NeoPa
32,556 Expert Mod 16PB
You're cool Edd.
It's ok to do as you did, but you need to explain that you're doing it with a link. That way it's all clear.
Glad you're happy with the answers anyway :)
Apr 18 '07 #5
MMcCarthy
14,534 Expert Mod 8TB
You're cool Edd.
It's ok to do as you did, but you need to explain that you're doing it with a link. That way it's all clear.
Glad you're happy with the answers anyway :)
And we both gave the same answer. That must be a first. :D
Apr 18 '07 #6
NeoPa
32,556 Expert Mod 16PB
Surely not the first Mary. You've certainly been right before now :D
Apr 19 '07 #7
xian2
43
Haha,

Are there no rules regarding personal banter within posts containing serious questions :-)

Thanks for all your help guys

Edd
Apr 19 '07 #8
MMcCarthy
14,534 Expert Mod 8TB
Haha,

Are there no rules regarding personal banter within posts containing serious questions :-)

Thanks for all your help guys

Edd
You're welcome.
Apr 19 '07 #9

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

Similar topics

9
by: Downstreamer | last post by:
Design is as follows: A form for the user to input criteria to be used as the where part of the report's recordsource. This includes a multiselect list box as part of the criteria selection. ...
1
by: Kirsty Ryder | last post by:
Hi, I have a Report with a subreport, and I want to assign a value to the control source of a control on the subreport depending on the value given by the user in a separate form. Based on...
1
by: shaqattack1992-newsgroups | last post by:
I know this is kind of a weird question, but is there anyway to give a subreport control of a main report? I posted my situation earlier about having drawings print out after a group. I have a...
3
by: lorirobn | last post by:
Hello, I have a report which uses a subreport. When I run the report, I get "Enter Parameter Value" error message for "tblGuestRoom". I click ok and the report seems to work fine. I...
8
by: | last post by:
hi, i have a form on which a user can choose specific criteria such as dates etc, in order to filter the report that is called from the form. i do this by using the Where section of the...
4
by: MLH | last post by:
I have a report and on it, a subreport control Main Report Name: rptInvoiceMain Sub Report Name: rptInvoiceSubReport SubReport Control Name: rptInvoiceSubReportCtl The...
17
by: =?Utf-8?B?SGVyYg==?= | last post by:
I have created a report and subreport in VB/ASP.NET. The report works fine but the subreport will not display. The subreport, when displayed as a standalone report, works fine. Any help I can...
11
by: Simon | last post by:
Dear reader, The syntax for the VBA code to change the RowSource of a Master Report is: Me.RowSource = "TableOrQueryName"
3
by: Simon van Beek | last post by:
Dear reader, How to change the RecordSource for a subReport. For forms the syntaxes is:
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.