C2026-058 Check all Tables for if Acc Page Id Prefix is Used More than Once
This commit is contained in:
1 parent
ae9fb0eb67
commit
82f11fa696
10 files changed
+717
-133
No files matched your search
@@ -659,7 +659,16 @@ namespace ROEditor
|
||||
{
|
||||
elem.SetAttribute("AccPageIDPrefix",this.tbPrefix.Text);
|
||||
modified=true;
|
||||
}
|
||||
|
||||
if (myrodb.IsDuplicateAccPagePrefix(elem, tbPrefix.Text))
|
||||
{
|
||||
tbPrefix.Text = origPrefix;
|
||||
elem.SetAttribute("AccPageIDPrefix", origPrefix);
|
||||
modified = false;
|
||||
MessageBox.Show($"The Prefix field used for the \"Accessory Pages Access\" values should be unique. The fields used in these values can be found under \"Properties\" of an RO Group. If these are not unique, you may have trouble utilizing these ROs within Word Sections in PROMS. Cannot save.", "Problem saving data");
|
||||
return;
|
||||
}
|
||||
}
|
||||
bool success=true;
|
||||
if (modified==true) success = myrodb.RODB_WriteRO(elem);
|
||||
if (modified == true && success == true && modaccpageid==true)
|
||||
|
||||
Reference in new issue
Block a user