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.

Showing Unique Records Only in Portal

Featured Replies

I'm trying to have a portal show only the unique records, instead of every record, but not having much luck. Here's what I've got:

Databases:

Orders - main entry of order, has portal of Items which are related by Order Number.

Items - each separate item in the order, includes the vendor and item ID.

I want to create a portal that will show all the vendors used on an order as the same vendor can be entered on the order multiple times.

I did manage to make a calculation which returns all the vendors from a relational value list. But I can't seem to relate this calculation in order to show the values in a portal. I got this tip from an earlier post, but maybe it's not the direction I should be taking.

Set up a separate vendor-order table, related to your order table. Then have a portal to this new table.

  • Author

Not quite sure how to set this up right.

If I create a new table, Vendors for Job and put the following fields in:

Order Number

Vendor

Then how do I get the new table to show only the first occurance of each vendor for the order? I'm a little confused on this.

See here for a possible solution. Do a search for +summarize +portal if you want more threads where this has been discussed.

  • Author

Well, I just did a bunch of searching and trying, but I'm just not getting it. I think I have a brain block on this one.

I can't seem to figure out how to create a vendor_order table related to the order table since there are no vendor records in the order table, only in the item table.

From past posts, I got the relation value list to return a single occurance of each vendor, but how do I get that in a portal?

Thanks for any help.

You could try creating an unstored calculation text field of ValueListItems( Get(FileName); "yourvaluelist" ), where yourvaluelist is based on related vendor id and create a relationship from this field to the id field in your vendor table. A portal using this relationship should only display unique vendors.

  • Author

That did it. Thanks a bunch.

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.