|
|
Question : Crystal report
|
|
I am a newbie to crystal report. Tried to search for the answer from website or book but does not solve my problem. Hope the experts here will help. I am using Crystal report version 9. I am doing a window application that handle Patients and their records using vb.net. Patients particular (name nric
) are stored in a sql database. Here I mostly use data binding to update, stored, create new or delete patients particular. In addition they need to fill in 6 questionaires form.(A to F). What I want to achieve is after clicking a button (Generate Report). It will generate all the report of the 6 forms. It will go to a window form (where maybe have 6 buttons for the user to view the individual reports) after click on different button. Right now I am able to display a report using CrystalReportViewer. I follow the steps from a website In the Crystal Reports gallery I select the As a blank report (the other option is Using the report wizard) Next create new connection select OLE DB (ADO) Select Microsoft OLE DB provider for sql server With the new connection I select the table from the database and will be able to view the report that I created. But this only show a report that was created earlier. If I update my database the report is not updated. How to make the report and database update each other. Thank you davelye
|
Answer : Crystal report
|
|
Another option Open the report Click FILE Uncheck SAVE DATA WITH REPORT Save the report
To avoid this with new reports Open Crystal - no report open Click FILE--> OPTIONS Uncheck the setting for SAVE DATA WITH REPORT Close Crystal
All new reports will now inherit that setting.
mlmcc
|
|
|
|
|