FMPRO-L Archives

May 2012, Week 2

FMPRO-L@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jonathan Fletcher <[log in to unmask]>
Reply To:
FileMaker Pro Discussions <[log in to unmask]>
Date:
Mon, 14 May 2012 12:11:52 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
John, one error in my logic. When you are looping through the records, what I gave you will clear out all the variables that didn't have any hits on the current record. You need to adjust each line to look like this (with the default result on the end):

	SetVariable [ $count_n ; Value: Case ( ValueCount ( chckBoxField ) = n ; $count_n + 1 ; $count_n )

Enjoy!


On May 14, 2012, at 12:02 PM, John Montana wrote:

> Thanks Jonathan, I can work with that.
> 
> The rCF + abstraction will be for later, appreciate the hint.
> 
> JM


--
Jonathan Fletcher
FileMaker 9/10/11 Certified Developer

Fletcher Data Consulting
[log in to unmask]
http://www.fletcherdata.com
502-509-7137

Personal Blog o'Stuff: http://jfletch.posterous.com

Kentuckiana's FileMaker Users Group
Next up: Build-from-scratch and more Twelve!
Tuesday, May 22, 12:00 pm to 3:30-ish
Blog: http://www.kyfmp.com

ATOM RSS1 RSS2