Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data will not display in report using dataset

Status
Not open for further replies.

djpatrick

Programmer
Aug 27, 2002
7
US
I am trying to display a simple report created using a dataset. I have verified that there is data in the dataset, yet the report contains only the headers and no detail. Below is a listing of my code:

Code:
Dim rpt As New ReportDocument
da = New SqlDataAdapter("EXEC GetAllReport '" & CDate(strDate) & "'", cnn)
da.Fill(ds)

rpt.Load(TemplatePath & "AddAll.rpt")
rpt.SetDataSource(ds)
crViewer1.ReportSource = rpt

Can anyone help me out with this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top