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-enter calc. when related record is created

Featured Replies

Hi

Problem:

When I (auto)create a related record (through a portal -'allow creation' in the PortalRelationship is on-) I want to auto-enter the _IDKeyField in the new related record with a multikey.

Field: _CategoryGlobal resides as Globalfield in the realted table

auto-enter multikeycalc: (_CategoryGlobal & "¶" & Get(RecIDnr)

When create the record by hand on the Lay-out of the related table (Current Table shown) everything works fine but when the record is auto-created through the portal the _IDKeyField has been set with _CategoryGlobal only. It seems Filemaker only auto-calculates in the active (current) Table.

Am I right and how can I solve the problem?

Thanks

  • 3 weeks later...

I would leave the match fields alone and feed off of them.

Use a separate calculation field for your multi key.

You never want to tamper or complicate your matchfields/serial numbers/id's.

What do you need the multi key for? Usually it is used to filter records via relationship or value list built from a relationship. And I don't see why you would want to filter or sort by the serial numbers.

Looks like you are labeling records with some sort of category? I have attached a sample file that uses categories to filter record relationships. This may help explain what I am talking about.

I may have completely misunderstood your question, hope this helps.

MultiKey.fp7.zip

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.