Ok so I've had limited success with triggers to date and so I've avoided them but it's meant my pages do way too much work so I'm trying to get some very simple triggers to work. But in my very first one, somehow I've ended up with a lag in my trigger.
I've created a dummy app with dummy data. It had initially worked, but when I realised another part of the trigger was always replacing all the data, I disabled that version and deleted all the records to start again. And that's when everything started to run behind.
I've attached the trigger.
But in essence this is what happens. I create a new record in my profilebase table (record 6 and 7). I add data through a datapage into the mimic table. I expect the trigger to copy that data into my profilebase table once the record is marked "complete". But when I enter record 6 and mark complete, the profilebase table doesn't update record 6. When I enter record 7 and mark complete, the trigger updates profilebase's record 6. Record 7 remains out of sync.
Every trigger example I watch or read shows the impact instantaneous - how have I managed to mess this up???
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
Jodie
Ok so I've had limited success with triggers to date and so I've avoided them but it's meant my pages do way too much work so I'm trying to get some very simple triggers to work. But in my very first one, somehow I've ended up with a lag in my trigger.
I've created a dummy app with dummy data. It had initially worked, but when I realised another part of the trigger was always replacing all the data, I disabled that version and deleted all the records to start again. And that's when everything started to run behind.
I've attached the trigger.
But in essence this is what happens. I create a new record in my profilebase table (record 6 and 7). I add data through a datapage into the mimic table. I expect the trigger to copy that data into my profilebase table once the record is marked "complete". But when I enter record 6 and mark complete, the profilebase table doesn't update record 6. When I enter record 7 and mark complete, the trigger updates profilebase's record 6. Record 7 remains out of sync.
Every trigger example I watch or read shows the impact instantaneous - how have I managed to mess this up???
Link to comment
Share on other sites
2 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.