Name Unresolved: runEndDate in access or evaluation of 'runEndDate' , runEndDate/*###*/
occurs when this code is enabled:
consrow = DateRange << Get Rows Where( :Main Error Code == "Consecutive die vision failure" );
waitrow = consrow-1;
gorow = consrow+6;
waitTime = :Time[waitrow];
waitDate = :Date[waitrow];
goTime = :Time[gorow];
goDate = :Date[gorow];
Bdt = New Table("Consecutive Failure Calc",
New Column("waitDate", Continuous, numeric, format("m/d/y"),values(waitDate)),
New Column("waitTime", Continuous, numeric, format("h:m:s"),values(waitTime)),
New Column("goDate", Continuous, numeric, format("m/d/y"),values(goDate)),
New Column("goTime", Continuous, numeric, format("h:m:s"),values(goTime)),
New Column("DownTime", Continuous, numeric, format("hr:m:s"), Formula(
(:goTime - :waitTime);
))
);
Bdt << SetName("Cons Time Table");
Bdt << clear row states;
Really only when the creation of the new data table is enabled. Code is much longer than these line, but it works when I don't try to create this table, which I need. Any help would be appreciated.
Thanks