Fixed to allow search of selected multiple return RO value
Added comments
This commit is contained in:
@@ -128,7 +128,7 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
}
|
||||
|
||||
//private string GetROList(ROFSTLookup.rochild[] chld)
|
||||
// same function as GetROsToSearch in DisplaySearch.cs
|
||||
private string GetROChildren(object roObj)
|
||||
{
|
||||
ROFSTLookup.rochild chld = (ROFSTLookup.rochild)roObj;
|
||||
@@ -136,7 +136,8 @@ namespace Volian.Controls.Library
|
||||
if (chld.children == null) // get a single ROID
|
||||
{
|
||||
//ROFSTLookup.rochild ro = (ROFSTLookup.rochild)roObj;
|
||||
rtnstr += string.Format("{0}", chld.roid);
|
||||
rtnstr += string.Format("{0}", chld.roid);
|
||||
if (rtnstr.Length == 12) rtnstr += "0000"; // last four digits are used for multiple return values
|
||||
}
|
||||
else
|
||||
{ // spin through the child list and get the ROIDs.
|
||||
|
@@ -975,7 +975,7 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
return rtnVal;
|
||||
}
|
||||
|
||||
// Same funtion as GetROChildren in DisplayReport.cs
|
||||
private string GetROsToSearch(ROFSTLookup.rochild[] chld)
|
||||
{
|
||||
string rtnstr = "";
|
||||
@@ -983,7 +983,7 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
ROFSTLookup.rochild ro = (ROFSTLookup.rochild)cmboTreeROs.SelectedNode.Tag;
|
||||
rtnstr += string.Format("{0}", ro.roid);
|
||||
if (rtnstr.Length == 12) rtnstr += "0000";
|
||||
if (rtnstr.Length == 12) rtnstr += "0000"; // last four digits are used for multiple return values
|
||||
}
|
||||
else
|
||||
{ // spin through the child list and get the ROIDs.
|
||||
|
Reference in New Issue
Block a user