SelectorDialog - GeirOttoOlsen/JukeboxDocumentation GitHub Wiki

def var cFeltIdList as char no-undo. def var cRowIdList as char no-undo.

assign cFeltIdList = JBoxServerAPI:Instance:FieldValues('GDPRFelt','where iGDPRTabellId=' + string(oBrwGDPRFelt:PARENT-BUFFER-HANDLE::iGDPRTabellId),'iGDPRFeltId') cFeltIdList = if cFeltIdList = ? then '' else cFeltIdList . /* cRowIdList = JBoxServerAPI:Instance:getRowIdList("_Field","WHERE _field._Table-name = " + oBrwGDPRFelt:PARENT-BUFFER-HANDLE::GDPRTabellNavn + " and can-do(" + quoter(cFeltIdList) + ",string(iGDPRFeltId))").*/ JBoxServerAPI:Instance:Selector("_field" + ";_field-name" + ",_file" ,"where true, _file-name = " + quoter(oBrwGDPRFelt:PARENT-BUFFER-HANDLE::GDPRTabellNavn), cRowIdList). IF JBoxServerAPI:Instance:SelectorOk THEN MESSAGE JBoxServerAPI:Instance:SelectorRowidList skip(1) JBoxServerAPI:Instance:SelectorDeselectRowidList VIEW-AS ALERT-BOX.