|
-
Jan 22nd, 2007, 08:58 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] Need data from two tables displayed
Hi,
I built a report that currently pulls from one table and uses the following code to populate it.
VB Code:
Dim cr As New ReportDocument
cr.Load(strAppPath & "\Reports\SchDaysPerDept.rpt")
cr.SetDataSource(ds.Tables("tblVacationTaken"))
CrystalReportViewer1.ReportSource = cr
How can I populate this if the data is from two tables?
Thanks
-
Jan 22nd, 2007, 10:10 AM
#2
Re: Need data from two tables displayed
Read the crystal report tutoruial at my signature.
There is need proper linking in the two table for showing data.
-
Jan 22nd, 2007, 10:49 AM
#3
Thread Starter
Fanatic Member
Re: Need data from two tables displayed
shakti,
I clicked on the crystal report tutorial in your sig and read through it. All this does it tell you how to use parameters. I am trying to use two different tables.
-
Jan 22nd, 2007, 10:53 AM
#4
Thread Starter
Fanatic Member
Re: Need data from two tables displayed
I found it. It was under "CR in VB.NET" in your sig.
Thanks
-
Jan 23rd, 2007, 06:40 AM
#5
Re: Need data from two tables displayed
 Originally Posted by jre1229
I found it. It was under "CR in VB.NET" in your sig.
Thanks
your welcome
but before posting the question show that in which language you are using the CR
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|