vba .OldValue not working (1 Viewer)

spinkung

Registered User.
Local time
Today, 21:26
Joined
Dec 4, 2006
Messages
267
hi

i'm trying to use old value on an after update event so i can create an audit of changes.

However, the value i'm getting is always the new changed value. do i need to get the value in another event? the control is a bound field to an sql table.

thanks

:banghead:
 

JHB

Have been here a while
Local time
Today, 22:26
Joined
Jun 17, 2012
Messages
7,732
Not tested - but what about before update event?
 

CJ_London

Super Moderator
Staff member
Local time
Today, 21:26
Joined
Feb 19, 2013
Messages
16,772
oldvalue is set to newvalue when the record is updated, so you need to capture it in the before update event.
 

Users who are viewing this thread

Top Bottom