dynamically add fileds , tables , values and update in form dialog lookup (dicttable, dictfield)
Check SysQueryForm form logic reference [Form] public class NXR_TableFileldsUpdate extends FormRun { int selectedTableId; int selectedFieldId; Str1260 fieldValueStr; RefRecId recIdValue; int defaultTableId; /// <summary> /// /// </summary> public void init() { super(); TableName.text("EDF_ContractLine"); SqlDictionary sqlDict; Select tabId From sqlDict Where sqlDict.name =="EDF_ContractLine" && sqlDict.fieldId==0; selectedTableId = sqlDict.tabId; defaultTableId = selectedTableId; TableRecId.enabled(false); ...