Page 1 of 1

Repeat data from one line into another

Posted: Thu Feb 06, 2020 8:53 pm
by rafael.custodio
Hi everyone, I need help with another question. I have a report and I need to repeat some data that I have already printed in one line into another line.

What I have now:
Screen01.PNG
Screen01.PNG (76.62 KiB) Viewed 2873 times
I need to repeat the data in the 4th line in the 7th line. So the report will look like that:
Screen02.PNG
Screen02.PNG (78.67 KiB) Viewed 2873 times

Re: Repeat data from one line into another

Posted: Fri Feb 07, 2020 10:36 am
by HighAley
Hello.

I am not sure that it could be easily done.
The answer depends on structure of your data.

Could you send us your report template with sample data?

Thank you.

Re: Repeat data from one line into another

Posted: Fri Feb 07, 2020 12:43 pm
by rafael.custodio
@HighAley, thanks for replying. Here are the files as asked. The XML file is too large for your webserver so I used Wetransfer.

https://we.tl/t-IqF8QlAAaz

Re: Repeat data from one line into another

Posted: Fri Feb 07, 2020 2:52 pm
by HighAley
Hello, Rafael.

The fields are filled.
You are using custom functions there.
We can't help you with them.

Thank you.

Re: Repeat data from one line into another

Posted: Tue Feb 11, 2020 11:39 am
by rafael.custodio
@HighAley, is there a way to get the index of the items in the data table?
I'm trying to get the values that I need using this function InfoMateriaBoletinBr.DataTable.Rows[10]["NotaNumEv2"].ToString() but the number of the rows must be dynamic depending on the student that I'm showing the results.

Re: Repeat data from one line into another

Posted: Tue Feb 11, 2020 3:18 pm
by HighAley
Hello.

You could enable the Double Pass mode.
At the First pass you could get information about the rows.
At the Second pass you could fill the data.

Also you could save the values in variables or Hashtable and then fill the second line with these values.

Thank you.

Re: Repeat data from one line into another

Posted: Wed Feb 12, 2020 5:43 pm
by rafael.custodio
@HighAley, could you please give me some examples of both situations?
How could I get information about the rows?

I really appreciate your help !!

Re: Repeat data from one line into another

Posted: Fri Feb 14, 2020 11:58 am
by rafael.custodio
@HighAley, I really need an answer and some guidance about these questions, I have some time-sensitive matters that are directly related to these issues.
I'm really sorry to be bothering you about it and hope to hear something back ASAP.

Re: Repeat data from one line into another

Posted: Wed Feb 19, 2020 8:48 pm
by Lech Kulikowski
Hello,

In the NET-based products, you can use the following expression:
{DataSourceName.DataTable.Rows[index]["ColumnName"]}

Thank you.