I am creating a log of edited records.
So let's say I have two fields:
NAME, AGE
Say my present Record is
NAME- Liv Manto
AGE- 28
If a user say, User 8 change the record to:
NAME - Olivia Gonzales
AGE - 32
I will a add a record to a log table EDIT:
User08;Name-Liv Manto:Olivia Gonzales;AGE-24:32
SO I would make use of the Old Value compared to New Value.
I put the code that would add this record to the AFTER Update Event of the Program.
My problem is after I update the first field, LivManto to Olivia, the record is automatically refresh so when I change the AGE, my oldvalue for NAME becomes Olivia instead of LivManto.
I am not using refresh so I have no idea how to fix this.
Please Help.
Where do I put the code. The On Dirty Event offers the same dilemma.
So let's say I have two fields:
NAME, AGE
Say my present Record is
NAME- Liv Manto
AGE- 28
If a user say, User 8 change the record to:
NAME - Olivia Gonzales
AGE - 32
I will a add a record to a log table EDIT:
User08;Name-Liv Manto:Olivia Gonzales;AGE-24:32
SO I would make use of the Old Value compared to New Value.
I put the code that would add this record to the AFTER Update Event of the Program.
My problem is after I update the first field, LivManto to Olivia, the record is automatically refresh so when I change the AGE, my oldvalue for NAME becomes Olivia instead of LivManto.
I am not using refresh so I have no idea how to fix this.
Please Help.
Where do I put the code. The On Dirty Event offers the same dilemma.