Hi,
I'm probably having a really blonde day, but I'm trying to get set a form to run one bit of code if I update a record in a table & a slightly different bit if I add a new record.
I've added msgbox's to test the code & if I update a record, only the 'After Update' code runs but if I add a new record, the 'After Update' code runs & then the 'After Insert'. I'm trying to think of a way to make it distinguish between an update & a new record so I can stop the 'After Update' event happening for new records. Coming up blank at the moment.
Is there a trigger? -am I just being really blonde & missing it?
Thanks
merry_fay
I'm probably having a really blonde day, but I'm trying to get set a form to run one bit of code if I update a record in a table & a slightly different bit if I add a new record.
I've added msgbox's to test the code & if I update a record, only the 'After Update' code runs but if I add a new record, the 'After Update' code runs & then the 'After Insert'. I'm trying to think of a way to make it distinguish between an update & a new record so I can stop the 'After Update' event happening for new records. Coming up blank at the moment.
Is there a trigger? -am I just being really blonde & missing it?
Thanks
merry_fay