December 15, 200421 yr /* MiddleRepetitions function Author *COMMENT Visual Realisation Format MiddleRepetitions ( repeatingField ; startRepetition; endRepetition ) Parameters repeatingField - any repeating field, or an expression that returns a reference to a repeating field. startRepetition - any numeric expression or field containing a number endRepetition - any numeric expression or field containing a number Data type returned text Description Returns the values in specified repetitions of repeatingField, starting with startRepetition and ending with endRepetition (inclusive). Returned values are text items followed by carriage returns. */ GetRepetition ( repeatingField ; startRepetition ) & "
December 15, 200421 yr Hi Michael Well you'd better upload it here as well: http://www.briandunning.com/filemaker-custom-functions/list.php It would probably be the place where people look first?? --sd
September 28, 200520 yr Hi comment you know that I like all your post and that I think you are a genius ! So please take this my post as a little suggestion ! With a very small modification to this beautifull CF, we end up with no extra carriage return. This is the code: GetRepetition ( repeatingField ; startRepetition ) & If ( (startRepetition+1 ) <= endRepetition; "¶" & MiddleRepetitions ( repeatingField ; startRepetition +1; endRepetition ) )
Create an account or sign in to comment