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.

Featured Replies

Alright, I'll try to make this brief and to the point. Three tables. Royalty DB.

Table 1...Project

Table 2...Tracks (ProjectGroupSubtable)

Table 3...Group

I want a calculation which summarizes the number of tracks by a group on a certain project. (This will then be used in a seperate calculation to figure out royalties)

Right now whenever I try to use Count(field) it counts tracks by a Group over all the projects instead of just one.

I've read about using sub-summary parts, but I'm under the impression that these wouldn't fit my situation, am I wrong?

Thanks!

jon

Im not sure if im understanding the problem correctly seeing as i dont see where project comes in... but anyway.

If tracks is a subtable of group... i.e. 1-1

Relate Tracks to a second Tracks table occurance via the group identifier (foreign key). Then create an unstored calc in this table occurance to count over that relationship.

If thats not what your after, maybe im just not getting it, but if you could clarify a bit that'd be great.

~Genx

  • Author

Sorry about that, the Project would be like the album which has a number of tracks on it by different groups.

A group could be on a couple of projects and therefore the track count for a group always seems to add up all the total tracks for all the projects that they are in, which doesn't help me very much.

So again

Table 1

pk.projectID

Table 2

fk.projectID

fk.groupID

pk.trackID

Table 3

pk.groupID

Edited by Guest

  • Author

I believe I have figured it out. Basically used a self join table off of Table 2, and summarized values from the first occurence.

(I think I just confused myself with that statement...)

jon

Um righto, as long as the problem is solved!

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.