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.

Audit logging with FM10

Featured Replies

Hi Guys,

Just wondered if anyone has a improved example (using cript triggers?) of audit logging with the features of FileMaker Pro 10. So far I've looked at Excelisys and Nightwing's examples, both very good but all edits are stored in one field within the record. I was hoping to log changes in a seperate Table called Audit for instance and generate a record in that table with the old value and the current value, date, time and username of the edit.

Thanks

I would guess you could create a script that triggers 'OnObjectModify' and creates new audit records for you.

If you create a new audit record for each change won't you end up with a huge audit file? It will soon dwarf the size of your database. The advantage of having a single audit field is that it keeps things nice and compact. You could also dump the audit log to a local text file periodically to prevent it from getting too huge.

triggers probably ought not be used

How come?

Script triggers are linked to an interface. If the underlying table is accessed from any other interface the audit records won't be created.

It's easy to access a table from another interface.

Becasue, in addition to what Vaughan said, they are just not reliable. They can also materially degrade performance of the system.

Go look at fmDataGuard as I mentioned yesterday.

Steven

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.