T
toine
I have a form 'klaarzetten' in which I want to track changes made on
the form.The form contains two subforms.
The table 'Klaarzetten' contains two fields (veranderop-(date),
veranderddoor-(numeric)).
I want to track changes in the mainform and both the subforms. Only
the last changes are important to me and I want to register the date
on which the last change is made and the loginname.
I tried to use the forms afterupdate event to write the data in the
table but I got al lot of errors, perhaps because the afterupdate
event is processed when the form close button is pressed?
The event works well when I call it with each control change() event.
But this means that every time a field is changed, the name and date
is written and causes a lot of unwanted data traffic.
What is the best solution to this problem?
the form.The form contains two subforms.
The table 'Klaarzetten' contains two fields (veranderop-(date),
veranderddoor-(numeric)).
I want to track changes in the mainform and both the subforms. Only
the last changes are important to me and I want to register the date
on which the last change is made and the loginname.
I tried to use the forms afterupdate event to write the data in the
table but I got al lot of errors, perhaps because the afterupdate
event is processed when the form close button is pressed?
The event works well when I call it with each control change() event.
But this means that every time a field is changed, the name and date
is written and causes a lot of unwanted data traffic.
What is the best solution to this problem?