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

I have a problem with a calculation / relationship setup.

Basically, I have a table full of lawsuits, and partes are joined to the suits table. The problem is in the display of the party names. The display can only have one plaintiff name vs one defendant name. If there are multiple plaintiffs or defendants, the name of either will have "et al" on the end of it.

I need to figure out how to calculate if there is more than a single plaintiff or defentant involved in the suit.

I have a lawsuits table, a partiesInSuit join table, and a parties table.

the partiesInSuit table is setup like this:

suitNum - sequence - partyid - partytype

1400 - 1 - 2 - plaintiff

1400 - 1 - 6 - defendant

1400 - 2 - 10 - defendant

So, in the join table I keep track of whether a party is a plaintiff or a defendant. There is also a sequence number that determines the priority of a party, 1 being dominant, and the rest following.

On just about every layout and printable form, I have to display

plaintiffname

vs

defendantname

As I said before, if there is more than 1 of a type of party, I have to show "et al"

plaintiffname

vs

defendantname et al

I can't figure out from a calculation how to tell if there are other defendants in the same suit. Can anyone suggest any ideas?

You need to set up a relationship that pulls out all the plaintiffs or all the defendants on a given lawsuit, and then use Count to see if there is more than one record that matches that relationship. You have a few options for where to do this calculation, but since you

  • Author

Yes. Thank you, that works very well.

I was trying a backwards approach, trying to do a count calculation from the parties table itself.

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.