Welcome! Log In Create A New Profile

Advanced

[WB 24] Log file

Posted by ericus 
[WB 24] Log file
October 20, 2020 04:15PM
Good afternoon

Does anybody maybe have advice on how to implement a log file of changes to a HF SQL table. I know there is an feature to create automatic logs but in a multi user system I would like to know which user changed the record and what changes were made.

Just to give one example. If a user changes the banking details for a supplier that must be logged with the before and after details, when it was done and by whom. There is however a multitude of other information also to be logged.

Thanks in advance for any assistance.


Ericus Steyn
pao
Re: [WB 24] Log file
October 20, 2020 04:22PM
We have implmented this kind of LOG using triggers.BEFORE and AFTER
We store information about the changes in the data and a lot of information regarding the WB session.

[doc.windev.com]

Regards

Paulo Oliveira
Argus
Re: [WB 24] Log file
October 20, 2020 05:05PM
You can look in fabrice's wxreplication. His replication mechanism is in fact a complete log system storing everything you asked and more, and then being transfered and used on other machines.
He's overwriting the hadd, hmodify and hdelete instructions and doing a whole dance in there.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: