lasdoog Posted December 15, 2022 Share Posted December 15, 2022 Hello, I'm wondering if there is a way to use FusionPro.Composition.repeatRecordCount, but return a different field when repeating. Such as this in OnRecordStart: FusionPro.Composition.repeatRecordCount = 2; if (Field("FULLNAME2") != " ") FusionPro.Composition.repeatRecordCount = 4; The above repeats the record 4 times, but I need the 3rd and 4th (or 5th and 6th, etc) to return (Field("FULLNAME2") instead of always returning (Field("FULLNAME") Is there a way to do this, or am I barking up the wrong tree? Thanks for any advice! Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted December 15, 2022 Share Posted December 15, 2022 Yes, you can use the FusionPro.Composition.repeatRecordNumber property. For example: if (FusionPro.Composition.repeatRecordNumber > 2) return Field("FULLNAME2"); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.