hi, i a am creating a report basing from the dataset produced on the program at runtime. below is the code that i have made. However this does not work. The error "The Report has no tables" is always showing. Somebody told me to alter the metadata in the report, how do we do that? Any help is highly appreciated please.
Code:Private Sub frmCustomerMasterReport_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load rptsummary.Load(Application.StartupPath & "\Accounting Reports\CustomerMasterReport.rpt") Logon(rptsummary, con.Server, con.Database, con.Username, "sa") rptsummary.Refresh() rptsummary.SetDataSource(dtTransaction) Me.crvCustomerMaster.Visible = True Me.crvCustomerMaster.ReportSource = rptsummary End Sub


Reply With Quote