October 26, 200421 yr 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
October 26, 200421 yr Make the highlight a calculation of Case( Parent::global = serial, highlight ). When a row is selected, Set Field [global, LineItem::serial].
October 27, 200421 yr Author Used a concatenated key in the LineItems file: KeyField & "_" & Serial Script: Set Field [ KeySinglePortal , KeyField & "_" & LineItems::Serial ] (KeySinglePortal as a text field) Thank you.
Create an account or sign in to comment