Mac OS X, Windows
FMP 7, 8, 8.5, 10, 11
La Source multimédia
File Type: None
FileSize: 0 kilobytes
This CF replace in the right order value from check box
_Cpt = ValueCount ( ListRef ) ;
_Value = Substitute ( LeftValues ( ListRef ; 1 ) ; "¶" ; "" ) ;
_Exist = Case ( PatternCount ( Text ; _Value ) ; Case ( _Cpt = 1 ; _Value ; _Value & ¶ ) ) ;
_NextList = RightValues ( ListRef ; _Cpt - 1 )
Case ( _Cpt > 0 ;
_Exist & ListOrdering ( Text ; _NextList )
ListOrdering ( “One¶Three¶Two¶Four” ; “One¶Two¶Three¶Four¶Five” )
this FC is used went I want to show on layout list the value from chek box field. As you can check in any order, it is interesting to get the value as we show them on the layout. So we can place an other field calculate as folowing.
Substitute ( ListOrdering ( DaysIn ; ValueListItems ( Get ( FileName ) ; "Days" ) ) ; [ "¶¶" ; ";" ] ; [ "¶" ; ";" ] )
FileMaker Inc. provides this content on an “As Is” basis, without any warranty, and subject to the terms of the FileMaker Technical Network Agreement. FileMaker makes no representations and is not liable for any content or related information. You may use the content as part of your own solutions and for your customers, but you may not otherwise publicly distribute any content that you did not submit. ©2009-2011 FileMaker, Inc. All Rights Reserved. FileMaker is a trademark of FileMaker, Inc. registered in the U.S. and other countries.