i do all you say to do in the post, it does not give me an error but the crystalreport1 that opens is clear, doesnt show nothing how i can correct that?
Printable View
i do all you say to do in the post, it does not give me an error but the crystalreport1 that opens is clear, doesnt show nothing how i can correct that?
Report.Load("../CrystalReport1.rpt") 'Report Name Here
Report.SetDataSource(DataTable)
CrystalReportViewer1.ReportSource = Report
if i want to use more than one datasource, how to do that ?
Hi, I am using Visual Basic 6.0 and not VB.Net. Do you have code I can use to create Crystal report ( Crystal Report 2008) using VB6. I have searched many forums but still have not find code that works with VB 6.0 and Crystal Report 2008.
Thanks in advance
hi shakti bhaya, the report way you mentioned is using oledb connection, while i am working in sqlclient. so can you tell me that what i do now with this?
1 more thing is that, i want that when i end user call a report so it does not ask for username and password, means that automatically it picks up the username and password.
Hello
I read your article in the link
It was great
Now I have a question
This gives me an error
The report has no tables
This error is on the line below:
Report.SetDataSource(DataSet)
In the following form.
CrystalReportForm.vb
Please help
Thanks
Mr Biroonvand
a simple sample code to connect vb.net to crystal reports using oledb
http://vb.net-informations.com/cryst...e_database.htm
there you can find lot of useful links .
algor