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.

Portals display on current records but not new.

Featured Replies

Hello, I am still pretty new to Filemaker but have done a ton of reading.

Anyways I have a MYSQL database that I am working with that is used for lets say keeping track of stuff. What I have are a lot of fields that depend on the previous field. So I put them in Portals and I have Calculation fields set up and also relationships set up.

The problem is that on new records the Portals will not display when the correct previous field is set. However on existing records on the database the Portals work fine. I have played around with setting the Allow records to be created option for the relationships also.

An example of one of my calculation fields:

case_notes(this is the field) = Case(case_disposition="Other";id;"")

So basically what should happen is the Case_notes would be set if the case_disposition field is set to Other.

Any help is much appreciated.

Gary

  • Author

I think I know why they do not show up on a new record. It is because the id is not set yet. So now I have to come up with a way to reference the current record or something like that.

Would I be able to create a field that gets the previous record number and adds 1 to it. Then reference this field for my other calculation fields instead of id?? Although I would not want this new field visible either.

Edited by Guest

  • Author

Nevermind. I got it figured out. Just had to have a script run that commits a new record when it is created. This way the id is set right away and is able to be used for the Calculations and the relationships to show or hide the portals.

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.