Set a value for #forrow

Uploaded report templates and discussions about reports.

Moderators: sarawut_w, Moderators

Set a value for #forrow

Postby hsui@gacrndusa.com » Thu Aug 30, 2018 4:35 pm

I am trying to get a customization report using Camero Systems Modeler 18.5 sp3 in windows system. Normally we can set up for each row or col Infor by #forrow or #forcol. However, I am thinking is there any way that I can set something to replace the code in tables.
For example, I use
Code: Select all
#forrow ($el in $var2) $el.name #set($i= $i+1)

in the table to get Infor that I want. But is there any way I can do something like
Code: Select all
#set $a = forrow ($el in $var2) $el.name #set($i= $i+1)

So I can replace $a in the table, not this very long code.
Please help me out of this. Thank you for your time to read and help.
hsui@gacrndusa.com
Forum Newbie
Forum Newbie
 
Posts: 5
Posts Rating:0
Joined: Thu Aug 30, 2018 11:29 am

Re: Set a value for #forrow

Postby sarawut_w » Thu Aug 30, 2018 8:09 pm

Hello,

Unfortunately, we do not support coding like that.
You cannot set #forrow into $a variable.

Best regards,
Sarawut W.
Support Engineer
sarawut_w
No Magic
No Magic
 
Posts: 328
Posts Rating:23
Joined: Thu Jun 23, 2011 12:47 am

Re: Set a value for #forrow

Postby hsui@gacrndusa.com » Fri Aug 31, 2018 11:31 am

Thanks for your reply. Thank you.
hsui@gacrndusa.com
Forum Newbie
Forum Newbie
 
Posts: 5
Posts Rating:0
Joined: Thu Aug 30, 2018 11:29 am


Return to Report Engine

Who is online

Users browsing this forum: No registered users and 0 guests