Fadi Al Machot | I am trying to count the number of rows of the record after deleting rows, unfortunately, it does not work, It returns -1. The record name is „Attributes“ and has 3 elements „Name“, „Range“ and „Value“. ON_EVENT "DeleteInstance" { SETG id_InstId: (instid) SETG id_classid: (classid) SETG id_modelid: (modelid) SETG str_InstanceName: (name) CC "Core" GET_REC_ATTR_ROW_COUNT objid: (id_classid) attrid: (id_InstId) SETL nCount : (count) CC "AdoScript" INFOBOX (" ID " + STR nCount) } |
|