C2017-003: Support SQL Server for storing of Referenced Object data

This commit is contained in:
2020-01-09 15:19:25 +00:00
parent 3f695a95a4
commit 7fbc9e358d
10 changed files with 192 additions and 36 deletions

View File

@@ -202,8 +202,11 @@ namespace ROEditor
ROField rof;
// Get list of available fields (all fields in this type, i.e. rectype = 'Schema'
// or 'GroupSchema') and get list of inuse from the schema definition.
AvailList = myrodb.RODB_GetFields(elem, editlevel);
InUseList = myrodb.RODB_GetFieldsInUse(elem, AvailList, strFieldsInUse, ref origFieldsInUse, true);
ArrayList tmp = myrodb.RODB_GetFields(elem, editlevel);
// put the items in the AvailList box.
if (AvailList == null) AvailList = new ArrayList();
for (int i=0; i< tmp.Count; i++) AvailList.Add(tmp[i]); // don't modify the list returned from RODB_GetFields since it is part of dictionary
InUseList = myrodb.RODB_GetFieldsInUse(elem, AvailList, strFieldsInUse, ref origFieldsInUse, false);
FillInAvailable();
// set up the listbox for inuse items.