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.

Record count on portal

Featured Replies

Hi All,

I'm going blind....I thought there was a function that gives the number of

lines in a portal?? Not the current portal row.

I am trying to stop a user from adding more then x-number of lines in a portal.

If you have any suggestions...go for it, i'm all ears!!

--Dan

A portal is a representation of your related table which could be quite longer than 'lines in the portal.' You need Count(PortaldRelationship::KeyID).

So you want to stop Users from adding more than X number of records to the related table? At all? Or only through this portal? Do you allow new records to be created in the portal (with Allow Creation on)?

  • Author

the portal represents a printed form that only has space for 15 line items.

So far what i have done is remove the sroll bar on the portal so that the user

is not tempted to keep adding lines beyond the 15 max.(per record)

I also have the count function you describe with an info line that says

"Line x of 15 MAX" the it goes to red when the user is at line 14 & 15.

What i guess i could do is after 15 lines switch the user the an identical

layout but this time with a portal that does not allow for the

creation of records.

I was just wondering if there was a better way.

Dan

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.