dbTalk Databases Forums  

Summary of a Value List

comp.databases.filemaker comp.databases.filemaker


Discuss Summary of a Value List in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Public Affairs
 
Posts: n/a

Default Summary of a Value List - 07-20-2005 , 05:52 PM






I have a Value List of services provided that is assigned to a Field, set up
as checkboxes. Multiple items can be checked.

Is there a way I can run a report that will tell me a total number of times
each item in the Value List has been checked.

I've tried some summary fields, but the subsequent report just list the
first item, not each separate.

Steve McGillivray
Arizona State University


Reply With Quote
  #2  
Old   
Helpful Harry
 
Posts: n/a

Default Re: Summary of a Value List - 07-21-2005 , 02:03 AM






In article <BF0423B2.31BD%steve.mcgillivray (AT) asu (DOT) edu>, Public Affairs
<steve.mcgillivray (AT) asu (DOT) edu> wrote:

Quote:
I have a Value List of services provided that is assigned to a Field, set up
as checkboxes. Multiple items can be checked.

Is there a way I can run a report that will tell me a total number of times
each item in the Value List has been checked.

I've tried some summary fields, but the subsequent report just list the
first item, not each separate.
Basically there's two methods to solve this. Which one you choose may
depend on whether all the data has already been entered or not (and if
it has, whether you want to spend time re-purposing it all).

For example, if you have a Value List of:

Bugs Bunny
Papa Smurf
Yogi Bear

then the two basic methods are ...



METHOD A
You can make each Checkbox item a separate field with it's own
single-item Value List:

BugsBunny Value List = "Bugs Bunny"

PapaSmurf Value List = "Papa Smurf"

YogiBear Value List = "Yogi Bear"

This means you can then summarise each option via separate Summary
fields using Count option.
ie.
s_BugsBunny Count of BugsBunny

s_PapaSmurf Count of PapaSmurf

s_YogiBear Count of YogiBear





METHOD B
You can create some three new Calculation fields which are used to
tally the Checkboxes replies:

BugsBunnyYes = If(PatternCount(CheckBoxField, "Bugs Bunny", 1, 0)

PapaSmurfYes = If(PatternCount(CheckBoxField, "PapaSmurf", 1, 0)

YogiBearYes = If(PatternCount(CheckBoxField, "Yogi Bear", 1, 0)

These fields can then be summarised separately via a Summary field
using the Total option.
ie.
s_BugsBunny Total of BugsBunnyYes

s_PapSmurf Total of PapaSmurfYes

s_YogiBear Total of YogiBearYes




The only real difference between the two methods is that Method B
retains the original single Checkbox field and single Value List, which
may be useful for reports where you want just a list of the checked
values (although you can still do this in Method A by using the
separate fields and the Sliding option to remove blank fields from the
printout).



Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.