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.

Creating sub-summary report with multiple layers of filters

Featured Replies

  • Newbies

Hello!

I've expanded on a starter solution contact database so my company can "code" contacts with keywords, for example: media, art, entertainment, music, etc. Each contact can have up to 5 codes.

I've set up a related Codes table (with key Codetype) and related it to K_ID_Contact in the Contact Management table via join table Code Assignments.

Right now, I have a sub-summary report set up to organize contacts by code. I've included a global field in the header "gCodes" that includes a value list from field "Codetype" and enables the user to view a sub-summary report of only one code at a time. This is achieved through a script that sets field CodeType (in table Codes) with gCode (in table Codes), performs a find, and uses the Code List Report layout I've set up to display the results.

My next challenge, and where I'm hitting a bump, is I'd ideally like to be able to search several codes deep. For example: Find all contacts that are coded as media, music, and PR. I've tried setting up multiple gCodes fields but this doesn't work. I reason because for each code relationship (contact with code) there is a unique record in CodeAssignments, so I wouldn't be able to search deeper in that record without first writing a script to pull up all records of a given CodeType, identify the related ID_Contacts, search ALL records for the ID_Contacts using a second code type.

Is this the best way to go about doing this? Is it even possible? Any help for this newbie would be appreciated, may be in over my head here...

Thanks,

Jake

Search for contacts in the Contacts table. Since this is an AND find, you'll need to progressively constrain the found set after the initial find.

Alternatively, set up a calculation field in the Contacts table =

List ( CodeAssignments::CodeID )

and search there (this only requires one request).

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.