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.

Reporting on Value Lists across multiple Y/N field

Featured Replies

Okay.....

Once again, I'm sure I'm missing something fairly obvious but, I suspect, I'm standing "too close to the trees".

Here's the background info ----

Database Type -> Seminar Reservation/Attendance

Field Info (Fields to be reported on/considered);

Household Position (HshldPoz) - Text (by Value List)

Value List -

[*]Head of Household

[*]Spouse

[*]Youth

[*]Child

[*]Speaker

[*]Other

Day of Attendance (DayStay1 - DayStay8) - Check Box (Y/N)

Other data;

- DayStay(x) will be corrolated to a date in the finished product.

- HshldPoz must be a value list since each type is used to calculate seminar cost.

Assumptions;

For HshldPoz value list, all types except Child & Youth are considered Adult attendees.

THE PROBLEM confused.gif *groan*

I need to publish a report that will show how many Adults/Child/Youth will be attending each day with a Summary field for each column (see example below. Pardon the periods, UBB Code doesn't do tabs and spaces very well.)

.........DayStay1........DayStay2.......DayStay3..(etc)

Adult........4(AdltSt1).....2(AdltSt2).....1(AdltSt3)

Youth.......2...................1..................4

Child........1...................4...................2

-------------------------------------------------------

Totals.......7..................7...................7

Now the totals won't be a problem since it's a simple summary field but I'm having a real problem getting the other data elements (AdltSt1, YthSt1, etc) to calculate. I've tried Count(field) and Sum(field) without much success. Any assistance will sure be appreciated.

Dan

There are several ways to create such a report, but you didn't tell us how the date1, date2, date3 were populated.

Are these date1 current field names ?

Are the globals populated by a script based on the seminar dates ?

Do you want to have a sub-list of names in a body part, or do you just want the counts to appear ?

For a Total Summary, you could use a concanation "Category&Date" and a script (looping through each categories and each range) could set each value from the result of count(selfJoinonConcanation::field).

Depending on the number (range) of dates you need to make appear, you could also have a set of say 7 dates, and if needed script a Day+ or Day- to have these fields populated.

Just some ideas...

You'd need :

g_DatefieldCounter

g_date1, g_date2,....

g_valuechosen

cg_concanation = g_DatefieldCounter&"-"&g_valuechosen

The script sets in a loop each date and

One solution I'd consider would be to script any entry using relationships.

For example, set all dates to be a global and use a g_category field.

If any date is a global, use a concanation g_date1&Category

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.