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.

Auto show of overdue invoices with calculated relation

Featured Replies

  • Newbies

Hi There,

I want to show a list of records in a portal with the following condition:

When a invoice is overdue I want to show it in a portal. The problem is that the relationship that is needed must be a calculation that is not saved, because else it won't be calculated every time the date changes. Calculations that are not saved cannot be indexed and therefore cannot be used in a relationship.

How can I bypass this problem.

I'm using FMPRO 8 advanced v2

I'm from the netherlands and hope that the above discription is readable. It is been I while since I wrote English!

Only the target field must be indexed. That would be the "DateDue" in the line items. The date field used as portal filter (on the "left-hand" side, as we used to say in 6, the parent, originating side) would be something like: Get (CurrentDate) - 30

Storage Options, Do not store

This would be in the parent table.

AND whatever other fields for the relationship, if any.

It may have refresh issues if you leave the portal visible all night }:(-]. But otherwise it should be all right I think.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.