Fixed to allow search of selected multiple return RO value

Added comments
This commit is contained in:
John Jenko 2013-12-18 18:28:11 +00:00
parent 1510f4e3e9
commit d898b0a056
2 changed files with 5 additions and 4 deletions

View File

@ -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;
@ -137,6 +137,7 @@ namespace Volian.Controls.Library
{
//ROFSTLookup.rochild ro = (ROFSTLookup.rochild)roObj;
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.

View File

@ -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.