Hi,
When printing a report the first page prints fine, but when I want to navigate to the 2nd page or if I want to use grouping the "No valid report source" error message is displayed.
I'm using Visual Studio 2010 Professional and Crystal Reports Version for Visual Studio 2010 (13.0.0.99).
The code behind sample:
TempSQLString = "SELECT CustomerNumber, CustomerName FROM Customers WHERE CustomerStatus = 'ACTIVE'" Dim TempDataAdapter As New SqlDataAdapter() TempDataAdapter.SelectCommand = New SqlCommand(TempSQLString, TempConnection) TempDataAdapter.Fill(TempDataSet, "TempCRSource") Dim TempCrystalReport As New crTempReport TempCrystalReport.SetDataSource(TempDataSet.Tables(0)) crvTempReport.ReportSource = TempCrystalReport
I've read a number of posts all over the net, but none of them really presents a solution with the majority still being unresolved. Can anyone please help?
Thanks in advance!
Marked as answer by yolandre on Jul 22, 2011 05:08 AM
yolandre
Member
27 Points
13 Posts
No valid report source available
Jul 22, 2011 04:59 AM|LINK
Hi,
When printing a report the first page prints fine, but when I want to navigate to the 2nd page or if I want to use grouping the "No valid report source" error message is displayed.
I'm using Visual Studio 2010 Professional and Crystal Reports Version for Visual Studio 2010 (13.0.0.99).
The code behind sample:
TempSQLString = "SELECT CustomerNumber, CustomerName FROM Customers WHERE CustomerStatus = 'ACTIVE'"
Dim TempDataAdapter As New SqlDataAdapter()
TempDataAdapter.SelectCommand = New SqlCommand(TempSQLString, TempConnection)
TempDataAdapter.Fill(TempDataSet, "TempCRSource")
Dim TempCrystalReport As New crTempReport
TempCrystalReport.SetDataSource(TempDataSet.Tables(0))
crvTempReport.ReportSource = TempCrystalReport
I've read a number of posts all over the net, but none of them really presents a solution with the majority still being unresolved. Can anyone please help?
Thanks in advance!
yolandre
Member
27 Points
13 Posts
Re: No valid report source available
Jul 22, 2011 05:17 AM|LINK
Hi,
Thanks for viewing this, but I managed to get the problem addressed.
Regards,
zavuga
Member
25 Points
9 Posts
Re: No valid report source available
Feb 08, 2012 11:22 AM|LINK
How????