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.

Simple Portal Row Numbering?

Featured Replies

Hi all:

I had thought this would be very simple, but once I realized I'd never done it before, I just ran into a mental wall. Instead of beating my head against that wall, I've moved on to the next problem and am posting the question here:

I just want each row in a portal to show an item number, starting from 1 and going to how ever many rows are currently being shown in the portal. This is a formatting issue requested by the client, like this:

1. (Item description, Item price)

2. (Item description, Item price)

3. (Item description, Item price)

etc., but if there's only 3 items showing in a six-row portal, I want the numbers to stop at 3.

It's really simple, right? So what's the easy answer?

Thanks in advance,

-Stanley

Put @@ in the first row of your portal. It's the symbol for current record number.

grin.gif

Hi Ugo,

I guess that would be the French way of saying it, huh?

smirk.gif

Lee

  • Author

Man, you guys are fast. I knew it would be simple.

Thanks

-Stanley

is there a way to run the numbers abckwards? ie. i have a portal whose records are sorted by date, with the oldest records at the bottom of the portal and the newest ones at the top. this way i can see the most recent activity without scrolling to the bottom of the portal. i'd like to number them this way as well. any ideas?

May be through the ValueListItems( ) function.

Create a Value List of Record_IDs involving your Portal Relationship.

Use the sorted by second value option, and pick the 'DateField'.

Now :

c_VLI = ValueListItems(Status(CurrentFileName),"IDsListSorted")

and

Patterncount(c_VLI,"

  • 3 months later...

Thanks! That solved one of my long-running problems. But where can I find a list of those symbols? It's more that the "Find" symbols isn't it?!?

  • 2 months later...

is there a simple way to then get the @@ to appear on a report from the data in the portal?

Ric

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.