Skip 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.

Music Catalog Database

Featured Replies

I am stuck on creating a relationship in a printed music catalog database. I would appreciate any help you can give me.

This database tracks printed music. My desire is to create 1 layout and but view music titles with tab views and portals. An example is attached to this posting.

I want to view the portaled music with the following tabs.

Song Details

By Occasion

By Style

By Theme

Here are my tables

Songs

Occasion lineitem

Style lineitem

Theme lineitem

Note that each song can have more than 1 occasion, style and theme.

My questions is…can I develop this using only one layout and tabs, or am I going to have to use multiple layouts?

Thanks for your help.

Example.png

You can do it with one layout and tabs. Search for filtered portal to find examples. Your relationships would look like this:

Base - line item A - songsA

Base - line item B - songsB

Base - line item C - songsC

"Base" is a single TO with the 3 rels hanging off of it.

  • Author

Tom,

Would you please give me more details on how I would create the relationship. What do you mean by base?

Thanks

Base is just the Table Occurrence (TO) on which the layout is based. It is the "parent" table, the context of your portal. It could be your Songs table but it doesn't have to be, since the field you'll use for the relationship in this table will be a global.

From the base table you make a relationship to each of your line items tables. On each tab you'll put a portal based on one of these relationships.

Since what you want to show in the portal is the song name, you'll need a TO based on Songs for each of the line items relationships so you can show the song name in each portal. (Unless you're already storing the song name in each line items table, but that would be kind of silly.) You can ignore this part of the setup until you get the basic concept.

Go to Kevin Frank's site and have a look at the Simple Filtered Portals example.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.