473,394 Members | 1,828 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,394 software developers and data experts.

Calcualtion between Reports and Subreports

Ely
Hi

How can I make calculations between a Report and a Subreport. Let me
know.

Thanks,
Ely

Apr 8 '07 #1
2 1166
On Apr 8, 7:57 am, "Ely" <visualkid...@yahoo.comwrote:
Hi

How can I make calculations between a Report and a Subreport. Let me
know.

Thanks,
Ely
Ely,
I am not very knowledgable about Access but one thing I noticed is
that the record in the subreport (assume datasheet view) is still
active when you return the cursor to the main form. Thus, if you want
to use a value on the subform you can. For example, in my case I
wanted to have a button on the main form that would pull data based on
a value in the subform record. It worked fine. If you need to use a
total from the subform then you have to create a DSUM. I don't think
this is difficult but I have never used this so good luck.

Apr 8 '07 #2
On Apr 8, 5:57 am, "Ely" <visualkid...@yahoo.comwrote:
Hi

How can I make calculations between a Report and a Subreport. Let me
know.

Thanks,
Ely
>From a subreport to get data from the parent report, use the parent
property in code -
e.g. xyz = me.parent.control + 4
>From report to get data in subreport (hmmm, I've not done this for
reports, just for forms, but expect it to be the same:
zyx = me.subreportcontrolname.report.controlname - 4

Hope this is what you are looking for.

-- Larry Engles

Apr 8 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mithun Verma | last post by:
Hello All, I have a Windows application that uses Crystal Reports 9 (bundled Version) developed using VS.NET 2003 on a windows server 2003 m/c. The application has to be deployed on the client...
5
by: Prakash Wadhwani | last post by:
I have a main Report with 3 sub-reports eg: Report1 (Main Report) ... SubRpt1, SubRpt2, SubRpt3 SubRpt1, SubRpt2 & SubRpt3 are bound to 3 different tables with a common relation on a NUMERIC...
5
by: DS | last post by:
Where do you add a Sub-Report? To the detail Section? Thanks DS
12
by: Tony Ciconte | last post by:
We are evaluating the prospect of integrating and/or using Crystal Reports with some of our current products. Some of these are still in Access 97 and are running well. Since we cannot include the...
1
by: David | last post by:
Folks, I have four subreports in a report in the detail section. I suppose I could move them to the footer of the report. Anyway, if any of them have data, I want the main report to force a...
3
by: joelpollock | last post by:
I'm having trouble continuously page numbering a large report in MS Access. The report is made up of three separate Access reports which I join together at the end. In the past I have opened the...
3
by: LataChavan | last post by:
I have tried to look for a solution to the problem of sending parameters to stored procedures through crystal report. Following is the code: Now what happens is that if i do not apply the logon...
2
by: kabradley | last post by:
Hello everyone. I have three reports that I would like to put into one main report. I tried creating the main report and then putting three seperate subreports in the detail section of the parent...
10
by: glenfernandez | last post by:
HI there, Need a little help with the reporting component of my MS Access 2002 project and would appreciate any insight / help from the experts. Please bear with me as I am still learning Access...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.