AnsweredAssumed Answered

How to Select All Checkbox in a Portal and in List View?

Question asked by starstuff on Sep 27, 2015
Latest reply on Oct 3, 2015 by Mike_Mitchell

Hello everyone!


i have a field called "IsAvailable" as a Checkbox Set with Value list named "Checkbox" and value inside is "1"


The field is used for tracking available products.


I would like to add a button to Select All the Checkbox in a Portal (Form View) and also in List View.


If the user click on this button, all the IsAvailable field will have a value of "1" and if clicked again the value will be empty.


I did some searching and found this script from Selecting all options on a check box set . Using FileMaker Pro . Forum . FileMaker Forums


Set Field [Yourtable::CheckBoxFIeld ; ValueListItems ( Get ( FileName ) ; "Name of your value list in Quotes"]


the problem with this script is that i can only set one record.


I would like if i click on this button all the IsAvailable field inside the portal will have a value "1" and also in the List View after a find


How to do this?


Thank you in Advance!