Page 1 of 1

Expressions

Posted: Wed Feb 23, 2022 11:43 pm
by baikins76
Hello
Simple question, I am working within E2. I want this line to show next router step and next workcenter. How do I add "next"?
{JTRouting.{Next(,StepNo)}} or {JTRouting.WrkCntrName}

Does next need to be in the dictionary?

Re: Expressions

Posted: Thu Feb 24, 2022 10:02 am
by Lech Kulikowski
Hello,

You can use the Next) function from the Dictionary:

object Next (object dataSource, string dataColumn)
Returns a value of the specified field in the previous entry. If the next row does not exist then the function returns null.

Parameters
dataSource - The Data Source for processing.
dataColumn - A name of the Data Column.

Return Value
A value of the specified field in the previous entry.

Thank you.

Re: Expressions

Posted: Tue Apr 12, 2022 6:21 pm
by baikins76
I need a better explanation. I am a cnc programmer this is all greek to me.

Re: Expressions

Posted: Wed Apr 13, 2022 7:20 am
by Max Shamanov
Hello,

Please see atached report.

Thank you.