This commit is contained in:
Kathy Ruffing 2012-02-24 16:31:11 +00:00
parent 784fd55a21
commit 367bffe14e

View File

@ -96,7 +96,14 @@ namespace VEPROMS
get get
{ {
if (_SelectedROFst == null && SelectedDVI != null) if (_SelectedROFst == null && SelectedDVI != null)
{
if (SelectedDVI.DocVersionAssociationCount <= 0)
{
MessageBox.Show("There is no Referenced Object (RO) data for this procedure set. Use the Properties for the set to define the RO data.");
return null;
}
_SelectedROFst = SelectedDVI.DocVersionAssociations[0].MyROFst; _SelectedROFst = SelectedDVI.DocVersionAssociations[0].MyROFst;
}
return _SelectedROFst; return _SelectedROFst;
} }
set { _SelectedROFst = value; } set { _SelectedROFst = value; }