Hoppa till huvudinnehållet

in the template report, is it possible to pull data from the different tables with syntax instead of a subreport?

Kommentarer

2 kommentarer

  • Permanently deleted user
    Jeff,

     

    I'm not sure what data is in the datatables in your dataset, but this might help you get started.  I have a table named 'Current_Year_Sales' which is the second datatable in my dataset.  In report designer I am getting the value of the attribute 'terms' from the first row and place it in a text box within my report.  To do this I use the following in my script:

     

    User-added image

     

    I'm assuming if there are mutliple rows you can loop through the rows and concatenate the string to place it in the textbox as well.

     

    Hope this helps,

     

    Marshall
    0
  • Permanently deleted user
    Marshall, 

     

    this works!!!

     

    I have an additional question.

     

    Do I need to iterate the Rows[0] as i loop through the table, (there is a one to one with the main table) so when i go to record 5 on the main do i need to look at rows[5]?

     

    or should i just leave well enough alone.

     

    Jeff
    0

Du måste logga in om du vill lämna en kommentar.