Presentation is loading. Please wait.

Presentation is loading. Please wait.

Report using ADO connection

Similar presentations


Presentation on theme: "Report using ADO connection"— Presentation transcript:

1 Report using ADO connection
Please use speaker notes for additional information! This presentation shows a report being generated using a form with the ADO connection as opposed to the Data Environment.

2 This shows the designer report set up
This shows the designer report set up. I have added code to the form to generate the report and I set up a very simple Data Report with information in the page header and detail section. When I originally put the text boxes into the detail section, they said unbound - when I game them a name on the properties, these names appeared on the form. Note that the labels were done with labels.

3 Note that the DataField is given as DCity (the name of the field on the database). The other two fields are DIdno and DName.

4 The command button on the form that says report (see previous slide) is Command1. When it is clicked the form is hidden and the DataSource for DataRport1 is set to ADODonor (the ADO connection). This relates the report and the Data. Finally DataReport1.Show displays the report on the screen.

5 When the DataReport is terminated, the form frmDonor20001 is shown.

6 This slide shows the report that was produced when the Report button on the form is clicked.

7 The terminate of the report brings back the form as explained when I showed the code related to the report.


Download ppt "Report using ADO connection"

Similar presentations


Ads by Google