project
BLF
> class
Database Component
> method PreSave
Description
Actions to take before writing current instance to the database (inside the db transaction!).
Use the field tc_status to test the status of the updated records:
'' = unchanged
'N' = new
'C' = changed
'D' = deleted
Parameters
oiReturnStatus
output
integer
Return status of the method.
Internal usage
BLF
method database.DataSaveWorker
program code (program1/database.p)