cancel
Showing results for 
Search instead for 
Did you mean: 

Basic CR problem

Former Member
0 Kudos
47

I am using VS 2010 VB and Crystal Reports provided by SAP.

At back end, i am using MS Access Db 2007 which is password protected.

In my vb form, i have made all the connection with data base and the navigation of records is also working fine. I have made a search option, in which the user inputs the department name, and then the filtered result is displayed in datagridview in the same form below. That search also works fine.

Now what I want is to use CR of the data displayed after search in the datagridview and print the report.

Please help. If you need any code please let me know.

Awaiting for early help.

Also if there is any pdf file available please share.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member188030
Active Contributor
0 Kudos

Hi,

The solution to this issue is to use datasets to pass the data to a crystal report.

Take a look at the Data Connectivity sample applications at below location.

ht[http://www.sdn.sap.com/irj/boc/samples?rid=/library/uuid/5050d3d0-19dd-2d10-ffb2-ddcd30a3e655|http://www.sdn.sap.com/irj/boc/samples?rid=/library/uuid/5050d3d0-19dd-2d10-ffb2-ddcd30a3e655]

Push the data returned by the search to a dataset and push the data from a dataset to the report. This model is called as PUSH model for Crystal Reports.

Take a look at below SAP Note.

15[1511438 - How to use datasets to pass data to Crystal Reports. |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533313331333433333338%7D.do]

Hope this helps,

Bhushan.

Answers (0)