Action Trigger Firing Order Level------ -------------------- -----Runform 1. Pre-Logon Form 2. On-Logon Form 3. Post-Logon Form 4. Pre-Form Form 5. When-Create-Record Block 6. Pre-Block Block 7. Pre-Record Block 8. Pre-Text-Item Item 9. When-New-Form-Instance Form 10. When-New-Block-Instance Block 11. When-New-Record-Instance Block 12. When-New-Item-Instance Item***********Enter Query 1. Post-Text-Item Item 2. Post-Record Block 3. When-Clear-Block Block 4. When-New-Record-Instance Block 5. When-New-Item-Instance ItemNote: If you define the Key-ENTQRY trigger, this is the only triggerwhich fires in an Enter Query situation.*****************Execute QueryAfter Enter Query 1. Pre-Query Block2. Pre-Select Block3. On-Select Block4. When-Clear-Block Block5. Post-Select Block6. On-Fetch Block7. On-Close Form8. When-Clear-Block BlockNote: If you define the Key-EXEQRY trigger, this is the only triggerwhich fires in an Execute Query situation.*************Execute QueryWithout EnterQuery 1. Post-Text-Item Block2. Pre-Query Block3. Pre-Select Block4. On-Select Block5. Post-Select Block6. On-Fetch Block7. On-Close Form8. When_Create_Record Block9. Pre-Record Block10. Pre-Text-Item Item11. When-New-Record-Instance Block12. When-New-Item-Instance Item****Exit 1. Post-Text-Item Item2. Post-Record Block3. Post-Block Block4. Post-Form Form5. On-Rollback Form6. Pre-Logout Form7. On-Logout Form8. Post-Logout Form**************Next Field andPrevious field 1. When-New-Item-Instance Item***************Next Record andPrevious Record 1. When-New-Record-Instance Block2. When-New-Item-Instance Item**************Next Block andPrevious Block 1. Post-Text-Item Item2. Post-Record Block3. Post-Block Block4. When-Create-Record Block5. Pre-Block Block6. Pre-Record Block7. Pre-Text-Item Block8. When-New-Block-Instance Block9. When-New-Record-Instance Block10. When-New-Item-Instance Form*******************Records Are Queried 1. Post-Query Block2. Post-Change Block3. Post-Change Item4. Post-Change Block5. Post-Change BlockGo back to Post-QueryNOTE: This cycle is repeated for each record retrieved.**********************No Records Are Queried 1. When-New-Record-Instance Block2. When-New-Item-Instance ItemNOTE: To observe this Trigger Firing Order:a. Enter a query.b. Enter a nonexistent record.c. Execute the query.The two triggers listed above, the Enter Query triggers, andthe Execute Query triggers fire.*************Create Record 1. Post-Change Block2. When-Validate-Item Block3. Post-Text-Item Block4. When-Validate-Record Block5. Post-Record Block6. Post-Block Block7. On-Savepoint Form8. Pre-Commit Form9. Pre-Insert Block10. On-Insert Form11. Post-Insert Block12. Post-Forms-Commit Form13. On-Commit Form14. Post-Database-Commit Form15. Pre-Block Block16. Pre-Record Block17. Pre-Text-Item Block18. When-New-Item-Instance Form*************Update Record 1. When-Database-Record Block2. Post-Change Block3. When-Validate-Item Block4. Post-Text-Item Block5. When-Validate-Record Block6. Post-Record Block7. Post-Block Block8. On-Savepoint Form9. Pre-Commit Form10. Pre-Update Block11. On-Update Block12. Post-Update Block13. Post-Forms-Commit Form14. On-Commit FormHere the transaction is complete and one record added.15. Post-Database-Commit Form16. Pre-Text-Item Block17. When-New-Item-Instance FormNOTE: To observe this Trigger Firing Order:a. Execute a query.b. Change a value.c. Choose Action->Save from the menu.d. Record the triggers from that point.*************Delete Record 1. On-Lock Block2. When-Remove-Record Block3. Post-Change Block4. Post-Change Block5. Post-Change Block6. Post-Change Block7. Post-Change Block8. Post-Change Block9. Post-Change Item10. Post-Query Block11. Post-Text-Item Block12. Post-Record Block13. Pre-Record Block14. Pre-Text-Item Block15. When-New-Record-Instance Block16. When-New-Item-Instance FormNOTE: To observe this Trigger Firing Order, delete a detail record.
全站熱搜
留言列表