Solved

data is not generating from  subreports ,when executed.

Posted on 2007-04-05
2
187 Views
Last Modified: 2013-11-06
data is not generating in subreports
i have a filter form prior to rpt generatring, where upon entering or selecting the data the rpt will be generated , but
 when i run rpt i am able to get the values in main rpt , but not in subreports
here these subreports r linked with a field to main rpt which is from a view
and basing upon that field these subrept will generate values frm 4 tables (i have given links to tables)
i have some param.'s  basing on those values iam supreesing these subrpts when reqd
so here my doubt

data src info. should be given to subrpts r not  which r linked with main rpts n these sub rpts has no parameters to pass , all that reqd. defined as formulas in rpt.
if data src info should be given to sub rept , then how  ,
is this the exact prob. why data is not passing into subrpts , when executed.

0
Comment
Question by:srpraju
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:srpraju
ID: 18930147
i got the answer , datasource info should be given to the subreports ,
create a reort class object// rptobj
create a subreport document//rptsub
and proceed with this code

 rptsub = rptobj.Subreports.Item("Name_Sub.rpt")
                    rptsub.SetDataSource(Data base table or dataset)
it works fine
0
 

Accepted Solution

by:
EE_AutoDeleter earned 0 total points
ID: 18998877
srpraju,
Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.

EE_AutoDeleter
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question