Brian Dunning's FileMaker Custom Functions

ToggleFlag_cf ( myfield ; myVL ; pos ; neg )

Toggles between All and Clear for setting checkbox sets

  Average rating: 4.6 (34 votes) Log in to vote

Steve Gerow   Steve Gerow
Abrazos Data Consulting, Inc.
http://www.abrazosdata.com

Share on Facebook Share on Twitter

  Sample input:
ToggleFlag_cf ( Colors ; "RedGreenBlue" ; "All" ; "Clear" )
  Sample output:
Red & Green = "All"
Red, Green & Blue = "Clear"

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Supplies button text: "All" if none or some checkboxes checked and user wants to check them all; "Clear" if all are checked and user wishes to clear them.

Compares valuecount of value list itself to number of checked values in the field itself.

 

Comments

Oreste Schiavone   Oreste Schiavone, New York
Jul 1, 2009
Hi,

I am not sure how this used.
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.