Skip to Content
author's profile photo Former Member
Former Member

Problems converting from XI to XI R2

I have an application which was written using vb.net (vs 2003) and Crystal XI.

It now needs to be upgraded to vs 2005 and Crystal XI R2.

In the old app we did not use a ConfigureCrystalReports() routine, and we did not bind to a data source.

The report was bound to a dataset, and no credentials are in evidence as being passed to access this dataset. The dataset did NOT contain procedures and functions only tables.

To run the report we had this code:

Dim myDA As New SqlClient.SqlDataAdapter

Dim myDS As New dsJobOverView

'Load the data set with the 'heading' information

LoadReportSummaryInfo(myDA, myDS)

myReport = New ContactInformationListingIVRandEmail

'Set myReport to use the dataset

myReport.SetDataSource(myDS)

myReport.PrintOptions.PaperSize = CrystalDecisions.[Shared].PaperSize.PaperLetter

'Turn on and off various buttons etc.

CrystalReportViewer1.HasCrystalLogo = False

...blah blah blah...

This will not compile under 2005 as it does not recognize the report ContactInformationListingIVRandEmail as an object name, also when we tried to convert and use the other methods outlined we are asked for login credentials to access the dataset... there are none... so how do I make use of the older method.. or is it possible to do something like the older method, where we fill the dataset, declare which report then bind it all together... I cannot find a sample of this for Crystal XI R2.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.