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 report that is not behaving the way I want it to and I'm not sure why.

I have 4 tables that are all related to each other:
Tutor -> TutorCourse -> Course -> ProgramArea

"Tutor" contains the fields:
TutorID
FirstName
LastName
Email
TutorStatus (active or inactive)


"TutorCourse" contains the fields:
TutorID
CourseID
TC_ID
CourseStatus (active or inactive)


"Course" contains the fields:
CourseID
ProgramArea

"ProgramArea"contains the fields:
PA_ID
ProgramArea

(There are more fields in each table but for brevity I have only shown the ones I use in the report.)


The REPORT
I am trying to display:
-All tutors in a specific ProgramArea
    -Where Tutor::TutorStatus is "active"
    -Where TutorCourse::CourseStatus is "active"
    -where Course::ProgramArea is the ProgramArea specified by the user.


My report layout is set to use the "Tutor" table.

My results get:
-All the relevant tutors without duplicates (this is what I want)
-Only Active Tutors (this is what I want)
-"Most" of the records have the correct "Course::ProgramArea" but some display a different one despite the Find specifying a specific one.
-"Most" of the records have the correct "TutorCourse::CourseStatus" but some display "inactive" despite the Find specifying "Active".


Why is my report not working and how can I fix it?
Thank you!!
Jason

 

I think you may need to have the report layout based on ProgramArea.  Just for checking, try putting those other fields on the ProgramArea layout and see if you can manually do a find for all the criteria.

1 hour ago, Jason H said:

Most" of the records have the correct "Course::ProgramArea" but some display a different one despite the Find specifying a specific one.

If you are reporting from the Tutors table, then Course::ProgramArea will display data from the first related record in Course (unless you place it in a portal to the Course table, in which case it will display data from the corresponding portal row). If I understand your description correctly, a tutor may have many courses, and you have found tutors where at least one of the related courses meets the criteria - not necessarily all of them. 

 

33 minutes ago, Steve Martino said:

I think you may need to have the report layout based on ProgramArea.

No. If you want your report to list tutors, then it needs to be produced either from Tutors or from the TutorCourse join table (grouped by TutorID).

 

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.