Create a Copy of Current Record after Editing to another Table (children records) (change log)
Posted: 2020-09-27 02:44
How do i Create a Copy of Current Record after Editing to another Table (children records)
I mean a change log record everytime editting.
I create 2 tables.
*Table A:
- Property Address
- Width
- Floor
..
*Table B (same as Table A, but lookup and child record):
- Property Address (lookup to Table A - Property Address)
- Width
- Floor
..
What i want is: everytime i edit a record of Table A, it will automatically copy the current record to Table B (as a change log) - child record. So that i can see all edit history of a record from Table A.
I know i can start with : function bds_after_update
but i still have no idea. Please help.
thanks
I mean a change log record everytime editting.
I create 2 tables.
*Table A:
- Property Address
- Width
- Floor
..
*Table B (same as Table A, but lookup and child record):
- Property Address (lookup to Table A - Property Address)
- Width
- Floor
..
What i want is: everytime i edit a record of Table A, it will automatically copy the current record to Table B (as a change log) - child record. So that i can see all edit history of a record from Table A.
I know i can start with : function bds_after_update
but i still have no idea. Please help.
thanks