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.

Retrieving a portal row number from another file

Featured Replies

I have a Reservation.FP5 file with a self-relationship portal.

I'm using a calc field "Row" Status(CurrentRecordNumber)

to show the portal row number.

Sample portal:

Row RecordID

1 1047

2 1051

How can I pull the row number data into another file that has a many-to-one relationship to the file above?

[ December 17, 2001: Message edited by: jfrick ]

[ December 17, 2001: Message edited by: jfrick ]

Are you aware that the value of Status(CurrentRecordNumber) varies with found set and sort order? It will be different for each user. We definitely need more of the "Big Picture" about what you are trying to do.

-bd

  • Author

It's ok if the value of Status(CurrentRecordNumber) varies with found set and sort order? A row number is being used to display a color value from a repeating field "colorchoice" with ten repetitions. The colors are recycled every 10 records/reservations. On a Calendar view I show color-coded rectangles with room numbers - each reservation has it's own color. The records are sorted by date so you'll rarely see over 10 reservations on one calendar month.

  • Author

I don't know if this is the best way to do this -but it seems to be working. Instead of relying on calc fields I'm using a script.

Go to Layout [ReCalcRowNum]

Go to Record [First]

Go to Portal Row [First]

Loop

Set Field [ActiveRes::RecordNum, ActiveRes::CurrRecNum]

Go to Portal Row [Next, Select entire contents, Exit after last]

End Loop

cool.gif" border="0 Jeff,

I would do something like that with setting the global field in a related file, but I don't know enough about what you're doing. Anyway, it seems you found the answer.

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.