B2022-062: Proms crashes on Complete or Summary RO Report without ‘Sort by Setpoint ID’
This commit is contained in:
parent
f55ed7f3ef
commit
530d005f90
@ -475,7 +475,9 @@ namespace Volian.Controls.Library
|
|||||||
foreach (ROFSTLookup.rochild roc in chld.children)
|
foreach (ROFSTLookup.rochild roc in chld.children)
|
||||||
{
|
{
|
||||||
// Don't get the children if we are doing a RO Summary or RO Complete report & children are the multiple return values
|
// Don't get the children if we are doing a RO Summary or RO Complete report & children are the multiple return values
|
||||||
if (roc.children != null && (cbxROUsage.Checked || roc.children[0].ParentID != 0))
|
// B2022-062: Proms crashes on Complete or Summary RO report without 'Sort by SetpointID'. With new ROfst logic,
|
||||||
|
// need to check for children length > 0 also.
|
||||||
|
if (roc.children != null && roc.children.Length > 0 && (cbxROUsage.Checked || roc.children[0].ParentID != 0))
|
||||||
rtnstr += GetROChildren(roc);
|
rtnstr += GetROChildren(roc);
|
||||||
else
|
else
|
||||||
rtnstr += string.Format("{0},", roc.roid);
|
rtnstr += string.Format("{0},", roc.roid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user