Sub report

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

Comments

  • StarkStark Syria
    edited 8:56AM
    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 8:56AM
    Thank you Stark

Leave a Comment