I have a form for inputting part data into a table, there is a trigger to update a column with the date modified. the trigger works when directly inputting data into the table but when entering data into the form the trigger updates all the records on the table, making the date modified all the same for every record. Any help would be much appreciated
Attached: Pricelist Database
PriceListV3.odb
Form in Question: frmPartHalfScreenQuickEntry
Trigger in Question
CREATE TRIGGER TRGDATEMODIFIED for "tblPart"
before insert or update Position 0
AS
BEGIN
new."Date Modified" = current_timestamp;
END