Set its DataField property to one of the fields returned by the SQL query.Set its DataSet property to the TADODataSet control.Click on the Detail band of the report and drop a TQRDBText on to it.DataSet: Set to the TADODataSet control.Select the TQRPQuickrep control and set the following properties.(I have used select FirstName, LastName, Address, City, Region, Country from Employees.) CommandText - Enter a valid SQL query that returns some records from the database.(I have used the NorthWind database that ships with MS Access.) ConnectionString - Use the wizard to connect to an ADO datasource such as a.Select the TADODataSet control and set the following properties.Select the TButton and set its Caption property to " Launch Report".Drop the following components on the form.Open your IDE and create a new VCL Forms Application project.For example, to output a Quickreport report to a PDF document, a TgtQRExportInterface instance needs to be paired with a TgtPDFEngine instance on the same form as a Quickreport report component. On an application built with Quickreport, an instance of this interface component needs to be paired up with an eDocEngine document-creation engine component. You can either let the end-user of the Quickreport application to choose the output provided by eDocEngine in an interactive report "Save" dialog box or you could export the report programmatically in Object Pascal. For Quickreport, eDocEngine has the TgtQRExportInterface interface component. EDocEngine has "report-export interface components" for providing multiple output format support for Delphi reporting tools.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |