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

Multiply data in a report from 2 seperate reports

8
Hi,
I have a report called 'schools'

This report lists the percentage of schools performing a certain action

In the 'schools' report I have a subreport which lists information on the percentage of classes performing a certain action.

Thus the 'schools' report contains an output value of the percentage of classes performing a certain action and the percentage of schools performing the same action.

Is there any way I can multiply the percentage of schools performing a certain action by the percentage of classes performing a certain action and display this in the same report?

The 'schools' report uses fields from 'schools' query while 'classes' report uses fields from the 'classes' query.

Please help me find a way to multiply the two percentage values and display them in the same report.

Thanks
Jan 10 '07 #1
3 2461
ye2127
8
To clear it up a bit more.
The 'class' report is a subreport containing a percentage value that is displayed in the 'schools' report.

The 'class' report contains information from the 'class' query.
The 'school' report contains information from the 'school' query.

Is there a way i can multiply the output values from the two reports and display them in my report?

Is there any other way i can go about this so as to multiply the values from two seperate queries which stem from two seperate tables?
Jan 11 '07 #2
MMcCarthy
14,534 Expert Mod 8TB
To clear it up a bit more.
The 'class' report is a subreport containing a percentage value that is displayed in the 'schools' report.

The 'class' report contains information from the 'class' query.
The 'school' report contains information from the 'school' query.

Is there a way i can multiply the output values from the two reports and display them in my report?

Is there any other way i can go about this so as to multiply the values from two seperate queries which stem from two seperate tables?

Firstly create a new textbox to hold the value. Then if the textbox is on the subform then set the control source equal to

Expand|Select|Wrap|Line Numbers
  1. =[PercentTextboxOnSubReport] * [Reports]![School]![PercentTextboxOnSchoolReport
or if the new textbox is on the main form them

Expand|Select|Wrap|Line Numbers
  1. =[PercentTextboxOnSchoolReport] * [Reports]![School]![PercentTextboxOnSubReport
Mary
Jan 11 '07 #3
PEB
1,418 Expert 1GB
Hi,

I've always prefered to do all calculations and transformations into a queries rather than in reports!

The codings and calculations in reports are always not able to fit a big amounts of data!

Queries are always more performing! There is cases when query opens but report can't open giving an error Query is too complex!

So try to create a query on using shcool and class queries where to calculate the respective values.

And than create a report that shows those calculations!

Certenly in some cases the report shows the percent calculations easy! But watching the answer of Mary it seem to be more complicated ur case! So seems for me better to calculate into a query!

Exemple of calculation column into query:

Total score: [shcool].[score]*[Class].[Score]


Best regards!
To clear it up a bit more.
The 'class' report is a subreport containing a percentage value that is displayed in the 'schools' report.

The 'class' report contains information from the 'class' query.
The 'school' report contains information from the 'school' query.

Is there a way i can multiply the output values from the two reports and display them in my report?

Is there any other way i can go about this so as to multiply the values from two seperate queries which stem from two seperate tables?
Jan 11 '07 #4

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

Similar topics

2
by: Ryan | last post by:
We have an MIS system which has approx 100 reports. Each of these reports can take up to several minutes to run due to the complexity of the queries (hundreds of lines each in most cases). Each...
1
by: Alex | last post by:
Hi all, I've seen this noted in many posts, but nothing I've checked out gives me any clue on how to do this. Basically as my topic says, I have a DTS and I simply need to export some data...
3
by: Joanna Epstein | last post by:
I have several tables formatted as follows: ITEM #, ITEM DESCRIPTION, PL, JANUARY ITEM #, ITEM DESCRIPTION, PL, FEBRUARY And so on… I need to create a final report that merges all of the...
0
by: Akut | last post by:
hi, I have tried to deploy an application with crystal reports as part of the application. I have read through the documentations and followed all the instructions required for the deployment of...
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...
4
by: jdph40 | last post by:
I enter data into a database that resides on our network. Other employees can print reports from the database, but they have no way of telling if I've entered all the data. For instance, on...
0
by: faisalmushtaq | last post by:
Hi all, i am facing a problem regarding crystal reports.i am working on a software which contains a large number of crystal reports.A user might open a large number of reports having different...
10
by: giraffeboy | last post by:
Hi there, I'm having a problem with the Python db api, using MySQL. I've written a program with a GUI using wxPython, the GUI is contained in main.py which imports another module - reports.py....
7
by: iheartvba | last post by:
Hi, I have a report with only a header and a footer, I want to put a sub report in as the reports detail, the sub report has 3 records and then a Sum at the end, for the sum I have created a...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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
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,...

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.