C2017-003: Support SQL Server for storing of Referenced Object data
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user