Skip 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.

Commit Records & Go To Related Records

Featured Replies

Hi Guys,

Sorry if there is a simple answer to this one...

I have a portal which looks up table 'accom' where the user can edit fields and add a new row . Each row has a further info link which opens a new window and goes to a layout for 'accom'.

However when this new window opens I get an error saying this record is already being edited in another layout. So I know I have to commit the record before I can then go to related.

When I add this step in however it won't navigate to the selected record it will only got to the first record in 'accom'.

So I looked this online and the best option seems to be storing the portal row number in a variable and then committing records, loading layout and go to record from variable.

So I went to use Get(PortalRowNumber) to store as a variable and I get an error saying thats a invalid parameter of Get and I'm not sure why.

Any ideas?

Thanks in advance,

Dan

You don't want to store the portal row number. You want to store the primary key for the row record, go to the new window, and perform a scripted find for that key.

So I went to use Get(PortalRowNumber) to store as a variable and I get an error saying thats a invalid parameter of Get and I'm not sure why.

Because in version 11 the function has been renamed to Get ( ActivePortalRowNumber ).

the best option seems to be storing the portal row number in a variable and then committing records, loading layout and go to record from variable.

No, the best option is to store the portal row number in a variable (or a script parameter), commit records, go to related record (show related only), then go to the record number.

This, of course, assumes the portal doesn't have its own sort order, different from the relationship's sort order.

You're also assuming it's not a filtered portal. Seems like it ALWAYS works to get the primary key for the portal record and that would be the most reliable method.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.