Solved

data is not generating from  subreports ,when executed.

Posted on 2007-04-05
2
178 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
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now