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.

Can I tell what changed when a record is saved?

Featured Replies

Greets forum...need some help!!!

I am looking for a way to tell what fields have changed when a record is saved. I am interested in knowing when a value is changed in a specific field so I can report on it. For example, in the Inventory table I need to know if the Price has changed (when and by whom) but not if the quantity on hand has changed.

I have done some experimenting with 'Validate by Calculation' to try to set a flag in another column but it doesn't seem to be working, at least not working the ways I have tried.

Any and all suggestions would be appreciated!!!

This questions comes up from time to time. What you are describing is an Audit file, or Field Modification File.

If you do a search for +Audit +File, or +Field +Modification (with or without +Trial), and you should find a lot of Past Treads on this subject.

I would start by looking at the Demo Link called Super Audit File. There some other example at Nightwing, and if you search Database Pros Resources, you should find a few more.

HTH

Lee

See here for a bunch of links.

http://www.fmforums.com/forum/showpost.php?post/251865/

If you have the money, the easiest would be to use FMDataGuard.

If you are only tracking price changes you might even consider another option, where you keep a separate price table with values for productID, price, priceexpirationdate. You would design your system to only pull prices from the most recent price record. You would not edit the price once entered, you would instead create a new record when prices change.

However, there may be further complications. In many businesses there are price breaks dependent on order quantity. If that applies to your case, you will need a price table that include the break quantity.

  • Author

Thanks so much everybody. I wound up using a simpler version of Bob Weaver's Audit, hard-coded for now to the fields I am interested in. Works like a charm!!!

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.