cancel
Showing results for 
Search instead for 
Did you mean: 

regarding report

Former Member
0 Kudos

Dear All,

i have a button called "Print" in my form. I want to open the report which is created in SAP b1 by pressing that button. Or i want to open the Crystal report from the preesing the button.

Regards

Bodhisatya Bhatacharjee

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi bhodi

This is how iv done it using crystal reports

1. Create a typed dataset.

2. Add a windows form to your project and add a report viewer to the form.

3. Create and design your report and link the typed dataset as the datasource to your report.

4. Fire your query using the recordset object.

5. Create a data table,it should be an exact mirror image of your typed dataset.

6. Populate the data from you recorset into your datatable.

7. Set the datasorce of your report to that of the datatable in the code and call the report in the report viewer..

Hope this helps

Regards

Aris

Former Member
0 Kudos

hi aris,

i tried your method, but not fully satisfied...i m facing problem in ur step 3. can u explain it

regards

nirdesh panwar

Answers (0)