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!

CR and DatabaseField

Status
Not open for further replies.

lutzs

Programmer
Oct 8, 2002
75
LU
Hi,

there is a crystal report and a .net application.
The report is added to the application.
There are fields of my dataSet on the report.
When I open the report with CR and click the "Preview" of my page I get this message:
"ADO.net(XML): Please enter connection information ... "
There are two possibilities: the visual studio data class name or browse the xsd- file.
When I choose the vs dataclass (ApplicationName.DataSet) I get an error message: Logon failed. Details: Object reference not set to an instance of an object"
When I browse the the xsd-file and I click "finish" it's okay.
But the problem is: there is a database field (of my dataSet), that is empty. In my application I can show this database field with a dataGrid or a MessageBox- without problems and with the correct value.

But why doesn't print in the report?

Thank you for your help!
Stephanie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top