AccessJunkie
Senior Managing Editor
- Local time
- Yesterday, 23:18
- Joined
- May 11, 2006
- Messages
- 278
Hi,
Unfortunately, yes you have to check field by field because there is no way currently in the data macro logic with Access web apps to generically test which fields were updated.
My suggestion then would be to simply record the old and new values for all fields in the AfterUpdate event into an audit table so you have a record of all changes ever made to the data.
--------------------
Jeff Conrad - Access Junkie - MVP Alumnus
Senior SDET - Access Test Team - Microsoft Corporation
Author - Microsoft Access 2013 Inside Out
Author - Microsoft Access 2010 Inside Out
Co-author - Microsoft Office Access 2007 Inside Out
Access 2007/2010/2013 Info: http://www.AccessJunkie.com
----------
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.mspx
----------
For instance, if I have 50 fields, hypothetically, I do not want to create logic naming and checking all 50 fields. I would like for it to just tell me which fields were updated. Is that possible and if so, could you point me to what function could help me?
Or am I stuck checking field by field?
Unfortunately, yes you have to check field by field because there is no way currently in the data macro logic with Access web apps to generically test which fields were updated.
My suggestion then would be to simply record the old and new values for all fields in the AfterUpdate event into an audit table so you have a record of all changes ever made to the data.
--------------------
Jeff Conrad - Access Junkie - MVP Alumnus
Senior SDET - Access Test Team - Microsoft Corporation
Author - Microsoft Access 2013 Inside Out
Author - Microsoft Access 2010 Inside Out
Co-author - Microsoft Office Access 2007 Inside Out
Access 2007/2010/2013 Info: http://www.AccessJunkie.com
----------
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.mspx
----------