leejevans
August 14th, 2007, 04:18 AM
Hi all,
I am attempting to create and view a simple Crystal Report in VB.net and am running into some difficulty.
- First of all I add my Microsoft Access database as a datasource.
- Then I create a Crystal Report within VB.Net using the fields from my datasource e.g. MyReport.rpt
- Finally I create a form with a Crystal ReportViewer control on it and set the ReportSource to my new report, MyReport.rpt
However when I run my project the report appears but the data does not display.
I have tried looking at a couple of tutorials but haven't been able to figure it out, I'm guessing that I need to run a piece of code at runtime or something for the data to display?
Can anyone please help?
Many thanks in advance.
Lee
I am attempting to create and view a simple Crystal Report in VB.net and am running into some difficulty.
- First of all I add my Microsoft Access database as a datasource.
- Then I create a Crystal Report within VB.Net using the fields from my datasource e.g. MyReport.rpt
- Finally I create a form with a Crystal ReportViewer control on it and set the ReportSource to my new report, MyReport.rpt
However when I run my project the report appears but the data does not display.
I have tried looking at a couple of tutorials but haven't been able to figure it out, I'm guessing that I need to run a piece of code at runtime or something for the data to display?
Can anyone please help?
Many thanks in advance.
Lee