Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6994 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

 /*

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 ) & "

  • 9 months later...
Posted

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 ) 

)



This topic is 6994 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.