[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
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.
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.
Re: Need data from two tables displayed
I found it. It was under "CR in VB.NET" in your sig.
Thanks
Re: Need data from two tables displayed
Quote:
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