// EDA is now set up so that Next()/Prev() will work with sysID = , but not with Find() (As Find() will return a particular set of results)
if(idField && (editRow.sysID = id, !editRow.nil))// && editRow.Find(idField, middle, nil, id))
{
- //Id test = editRow.sysID;
selectedId = editRow.sysID;
EditLoad();
result = true;
editRow.Next();
if(!editRow.nil)
{
- //Id test = editRow.sysID;
selectedId = editRow.sysID;
EditLoad();
result = true;
editRow.Previous();
if(!editRow.nil)
{
- //Id test = editRow.sysID;
selectedId = editRow.sysID;
EditLoad();
result = true;
list.currentRow = row;
if(idField && editRow.Find(idField, middle, nil, selectedId))
{
- //Id test = editRow.sysID;
listRow = row;
//NotifySelectListRow(master, this, selectedId);
EditLoad();
void EditLoad()
{
+ Id selId = selectedId;
DebugLn("TableEditor::EditLoad");
EditClear();
+ selectedId = selId;
OnLoad();
internalModifications = true;
for(lu : lookups)
void EditClear()
{
DebugLn("TableEditor::EditClear");
+ selectedId = 0;
internalModifications = true;
for(fb : fieldsBoxes)
fb.Clear();