borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Do i need to install Crystal Reports?)Next Topic (Parameters) New Topic New Poll Post Reply
AndreaVB Forum : Reporting tools : Data Report
Poster Message
Balakrishnan
Level: Trainee

Registered: 15-03-2005
Posts: 3

icon Data Report

I want to load the Data Report Module (say rptTest.Dsr), that has been created by the VB-program at run-time based on the data fields to be displayed depending upon the users SQL query (that is the record set). Since the Data Report Designer is of no use when the recordset that is to be retrieved is unknown in a general type of database application, the best method is to create the file say, rptTest.Dsr at run time and then load this by the VB program itself. Afterwards the following statesments can be used to display the Report:

    Set rptTest.DataSource = rs   'i.e the recordset retrieved
    rptTest.Show vbModal
    rs.Close

15-03-2005 at 08:15 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Reporting tools : Data Report
Previous Topic (Do i need to install Crystal Reports?)Next Topic (Parameters) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder