Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to create a trigger to log changes made to data in one table

Featured Replies

  • Newbies

Hello,

 

I am very new to FM and I have been asked if audit logging of changes to data in a single table can be achieved. From my Googling, it appears that it can be done (im using FileMaker Pro Version 10.0), by writing a script and having a trigger fire each time the data in the table is modified

 

My question is this : how exactly do I go about this ? Ive searched for examples online but havent found anything relevant to what Im trying to achieve. Any feedback / direction would be greatly appreciated. Thanks.

 

The structure of the table I have to work with is as follows & the fields that data would be changing in via user modifcation are "Action" and "Conclusion".

 

CPD_CPR_H table

 

ID

Mandate Number  Text

Mandate Title   Text

Title                 Text

Response1     Text

Response2     Text

Scope             Text

Action              Text

Conclusion     Text

 

Audit_Table  ( // structure I was thinking of having but am open to any suggestions / alternatives ! //)

 

ID

Date

User

Field

Original_Value

Updated_Value

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.