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.

Self referencing lookup of last modified?

Featured Replies

I have a "LineItems" database with the following fields:

LineItemID

Qty

LastModFlag (global number)

Whenever the "Qty" is modified I would like the "LastModFlag" to lookup the record's "LineItemID". Is there a way to trigger a lookup that would do this?

It's quite easy, what ever the use then will be?

Make an autoenter field with the update option chosen, an stuff following in it:

Case(Qty;LineID;LineID)

or

Evaluate(LineID;Qty)

But perhaps are what you're trying to do this:

http://www.nightwing.com.au/FileMaker/demos8/demo806.html

--sd

  • Author

It's quite easy, what ever the use then will be?

But perhaps are what you're trying to do this:

http://www.nightwing.com.au/FileMaker/demos8/demo806.html

I am using it to build a relationship as part of a navigation system.

The zippscript plug-in looks pretty useful. I am experimenting with it now.

As always, your help is awesome!

Thanks.

  • Author

I thought that I understood what the evaluate function was doing in your previous example...but I guess I don't. Any idea why this lookup would be returning the wrong TimeStamp? I am trying to lookup the current TimeStamp whenever the QtyInvoiceShipped field is modified.

Evaluate ( QtyInvoiceShipped ; CurrentTimeStamp )

is returning

1/1/0001 12:00:01 AM

Admitted it could be a little convoluted to grasp...

Evaluate ( Quote(recordID & " | " & Get ( CurrentTimeStamp )); qty)

One thing are fields, but when functions are involved should the whole thing inside a Quote( statement.

What this is more or less the prerequisites for an audit trail, and is indeed a heavily debated subject:

http://www.nightwing.com.au/FileMaker/demos8/demo809.html

If you in the box when reaching this site http://www.databasepros.com/resources.html type "field modification" and it'll bring 4-5 templates at least.

--sd

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.