Sub report

Please send me vb code for RegisterData to subreport(s)

Comments

  • StarkStark Syria
    edited 11:34PM
    Hi ,


    RegisterData Function work for both main , subreport ,

    It's depends on the datatable name , that you use in your report whether it's main or sub report ,


    In Most cases ( for me ) I Add two datatable to report , one for main report , and the other for the subreport ,


    And yes the code still the same
    RegisterData   ( DataTableMain , "mainreporttable");
    
    RegisterData   ( DataTableSub , "subreporttable");
    


    And I filter that data from My windows Application

    Hope this help,


  • edited 11:34PM
    Thank you Stark

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.