Hi, am I correct in assuming the triggered action on update occurs before the actual update? If so is there a way to trigger it after?
In the below example a trigger is on the table sl_tbl_attendance. The time_out field will have just been populated. The select query is returning all results from the table sl_tbl_attendance for the current staff member where time_out is null. The issue I think I am having is because the trigger is firing before the record is actually updated it will always return the current record. Is there a way of preventing this?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
BrianI
Hi, am I correct in assuming the triggered action on update occurs before the actual update? If so is there a way to trigger it after?
In the below example a trigger is on the table sl_tbl_attendance. The time_out field will have just been populated. The select query is returning all results from the table sl_tbl_attendance for the current staff member where time_out is null. The issue I think I am having is because the trigger is firing before the record is actually updated it will always return the current record. Is there a way of preventing this?
Thanks
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.