Menu

Home

Luiz

Welcome to your wiki!

This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].

The wiki uses Markdown syntax.

Project Members:


Discussion

  • Luiz

    Luiz - 2017-01-10

    DESIGN REPORT

    Dim D As New ReportDesigner5.Designer   'Instatiate a designer object
    d.Filename = <filename>   'Set the design file location
    d.Rpt.Open(d.Filename)       'open the design file
    d.Rpt.DataSource = <Datatable>   'Set the datasource used in the report
    d.ShowDialog  'Display the design wondows form
    d.Dispose  'dispose designer object   
    

    PRINT REPORT

       Dim RP as New ReportDesigner5.Report  'Instantiate a report object
        RP.Open(<filename>)   'Open design
        rp.DataSource = <Datatable>   'Recieve data
        rp.PrintPreview    'Preview or print
    
     

    Last edit: Luiz 2019-06-05
  • Holger Friedrich

    What is this RP thing? Somekind of global variable? How would I declare it in a C# project that attempts to use ReportBuilder?

    If I add something along the lines of your VB code to a C# project, I get a NullReferenceException in PrintClass.vb, in a piece of code that once again uses this RP variable.

     
    • Holger Friedrich

      To answer my own question, I explored a bit further and found that I need to be

      using static ReportBuilder2.Module1;

       
  • Holger Friedrich

    What do the following error messages mean:

    Could not analyze text. Text format 39 expected.
    Could not analyze text. Text format 44 expected.
    Could not analyze text. Text format 123 expected.
    Could not analyze text. Text format 375 expected.

     
    • Luiz

      Luiz - 2020-09-15

      I can understand the error if i see the code section causing the error

       
  • Ajay Modak

    Ajay Modak - 2025-07-19

    i am getting following error when using rp.printpreview() functuin in vb.net System.MissingMemberException: 'Overload resolution failed because no accessible 'Copy' accepts this number of arguments.'

    as well as can i send parameters, create formula, add page number and can i create sub report

    please guide me

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.