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.

Filtering a Portal List

Featured Replies

I have a Stockroom solution (FM8) that I am trying to figure out how to filter a portal list.

User Account Table

School Table

Stock Requisition Table

Of course, there are other tables, but they don't play into this at all.

From a layout using the Account Table, I have a portal showing the Stock Requisitions.

I have setup two global fields in Accounts. One for School ID and one for Account #.

My relationship is Accounts::SchoolID = Stock Requisition::SchoolID

AND

Accounts::Account# = Stock Requisition::Account#

BUT, this requires that I have the contents of BOTH School and Account # completed for the list to show.

Would I would like:

1) Select school to give a list of ALL stock requisitions for the school

2) IF I want to further narrow the list by Account#, select an account# to only show those stock requisitions from that School with that account #

I can do #2, I can't do #1.

If I eliminate the Accounts::Account# = Stock Requisition::Account#

I can then do #1, but I can't do #2

I want to do both.

Has anyone tried this and been successful?

Again,

Select School to show all stock requisitions from that school. (Global Acct# field is empty)

Select Acct# to further narrow to show all stock requisition from that school using that acct#.

thank you,

Bryan VonDeylen

Neenah Schools

Neenah, Wisconsin

Hi Bryan,

Your discription is a little confusing:

I can do #2, I can't do #1.

If I eliminate the Accounts::Account# = Stock Requisition::Account#

I can then do #1, but I can't do #2

I want to do both.

Do you mean you want to allow matching by account# if an account# is entered (with School ID blank) and allow matching by school if a School ID is entered (with account# blank,) and match by both if both are entered?

  • Author

No, I want to be able to

Select a School and get all Requisitions for that school (no matter the account).

Then if I click an account, only get those requisitions that match both School and Account.

So, I want my choices to be either

1) Pick school and get all requisitions for the school

2) Pick school and account and get all requisitions that match BOTH school AND account

currently, if I pick school, I get nothing unless I also pick an account. Once I pick an account I do get those requisitions that match both School and Account. I am limited though, in that I cannot get ALL requisitions for a school.

If I change my code, I can pick a school and get all requisitions, but if I pick account nothing changes, I still get all requisitions.

Try changing your relationship to:

Accounts::gSchoolID = Stock Requisition::SchoolID

AND

Accounts::gAccount# = Stock Requisition::cAccount#

where cAccount# is a calculation field (result is text) =

Account# & ¶ & "All"

Change your Accounts value list to show values from the field cAccount#. Select "All" to view all requisition of a school regardless of account, or select an account# to narrow it down.

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.