Solved

data is not generating from  subreports ,when executed.

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

617 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