Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

How To View Single Record Of Multi-Line Portal


This topic is 7332 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have two databases, Parent and LineItems. I want to be able to display a selected description of the data in a portal with numerous items. I then want to display all the information of one record in a large, single record portal. Finally, I want to show the user which line item is select in the portal by highlighting the portal row.

Currently, I am setting a number field with a Max( LineItem::Serial_# ) + 1 and a decsending sort to highlight and dislplay the current record in the single portal. It does cause me a little grief when a line item is duplicated or deleted.

Does anyone have another approach?

Thanks

Posted

Make the highlight a calculation of Case( Parent::global = serial, highlight ). When a row is selected, Set Field [global, LineItem::serial].

Posted

Used a concatenated key in the LineItems file:

KeyField & "_" & Serial

Script:

Set Field [ KeySinglePortal , KeyField & "_" & LineItems::Serial ]

(KeySinglePortal as a text field)

Thank you.

This topic is 7332 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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