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.

Filtered Portal

Featured Replies

Hi Folks,

I can't quite get my head around this one..

I have a portal that contains basic info about pieces of music. Each piece is either a work or a movement. (pieces are either self contained or consist of movements).

I'm using 2 globals and 1 local field to filter down the list of pieces:

1. Composer

2. Title

3. Work ID

This works almost as I'd like:

(
(
IsEmpty ( Resources::gSearchPieceTitle )
or
PatternCount ( Piece_forResourcesMenu::Piece Title ; Resources::gSearchPieceTitle )
)

and

(
IsEmpty ( Resources::gSearchPieceComposer )
 or 
PatternCount ( Piece_forResourcesMenu::cComposers ; Piece_forResourcesMenu::gComposerSelect )
)
)
OR
Resources::PickWork = Piece_forResourcesMenu::pkPieceID

The issue is that, if the last field (Resources::PickWork) finds matches, I don't want to see any of the others. I suspect that it's possible, but can't work out how to do it...

Best wishes,

Mike

Edited by MikeKD

  • Author

Ah, I think I've got it - I'll use Case, testing for PickWork being empty or not. Will have a go when I get the chance...

Cheers!

Mike

  • Author

Well this works, pretty much I think..

If anyone can see some improvements, I'd be glad to hear them!

Case ( 
not IsEmpty (Resources::PickWork) ; Resources::PickWork = Piece_forResourcesMenu::WorkID 
;
IsEmpty (Resources::PickWork) ;
(
(IsEmpty ( Resources::gSearchPieceTitle )
or
PatternCount ( Piece_forResourcesMenu::Piece Title ; Resources::gSearchPieceTitle ))
and
(IsEmpty ( Resources::gSearchPieceComposer )
or
PatternCount ( Piece_forResourcesMenu::cComposers ; Piece_forResourcesMenu::gComposerSelect ))
)
)

 

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.