Expressions

Сonversation on different topics
Post Reply
baikins76
Posts: 2
Joined: Wed Feb 23, 2022 11:37 pm

Expressions

Post 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?
Attachments
next.JPG
next.JPG (28.77 KiB) Viewed 927 times
Lech Kulikowski
Posts: 4586
Joined: Tue Mar 20, 2018 5:34 am

Re: Expressions

Post 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.
baikins76
Posts: 2
Joined: Wed Feb 23, 2022 11:37 pm

Re: Expressions

Post by baikins76 »

I need a better explanation. I am a cnc programmer this is all greek to me.
Attachments
nextwrkcntr.JPG
nextwrkcntr.JPG (147.81 KiB) Viewed 584 times
Max Shamanov
Posts: 285
Joined: Tue Sep 07, 2021 10:11 am

Re: Expressions

Post by Max Shamanov »

Hello,

Please see atached report.

Thank you.
Attachments
ReportNext.mrt
(789.65 KiB) Downloaded 13 times
Post Reply