|
|
#4 |
|
Гость
|
сейчас проверю, спасибо за маячок
апдейт написан вот так: Код: #localmacro.updateExecutedStatus
update_recordset %1 setting Executed = %2
where %1.TableId == this.RefTableId &&
%1.RecId == this.RefRecId &&
%1.Executed != %2
#endmacro
....
таблица tbl;
....
#updateExecutedStatus(tbl, executed);Код: select forupdate tbl
where tbl.TableId == this.RefTableId &&
tbl.RecId == this.RefRecId;
tbl.Executed = executed;
tbl.update();Внимание, вопрос: переделывать на *.update() или можно update_recordset заставить? Последний раз редактировалось Shakr; 26.08.2008 в 15:02. |
|
|