| pfc_AcceptText | execute an AcceptText on all self-updating objects |
| pfc_UpdatesPending | Check if there is any self-updating object that need to be updated |
| pfc_Validation | extend on the objectperforms validation on the object level returns SUCCESS if ok, FAILURE otherwise. For non-PFC object, create an user event called ue_validation which returns an integer greater or equals to 0 for SUCCESS. |
| pfc_UpdatePrep | extend on the windowEmpty event, use to prepare an update |
| pfc_PreUpdate | extend on the window or controlEmpty event more validations if necessary, return SUCCESS to continue the pfc_Save process or FAILURE to abort |
| pfc_BeginTran | extend on the windowEmpty event code the transaction beginning, returns SUCCESS to continue the update |
| pfc_Update | extend on the windowDo the update on the self-updating objects. For non-self-updating object, you can code here the update procedure. Returns SUCCESS or FAILURE. If it's a failure, use of_SetDBErrorMsg() to set an appropriate error message (it will displayed by the pfc_DBError error). |
| pfc_EndTrand | extend on the windowEmpty event Here you can code the SQLCA.of_Commit() or SQLCA.of_Rollback() depending on the savecode (an event parameter) value. |
| pfc_DBError | extend or overrride on the windowIf an error occurs, this event will occur. |
| pfc_PostUpdate | extend on the window or controlReset update flags on the self-updateable objects |
Written and compiled by Réal Gagnon ©1998-2005
[ home ]