Announcements
Is there a way to set a collection's record count based on another value?
For example
I have a combo box with values 1-7 in it
I want to create a collection with X records in it, where X is the value selected in the combo box
HI @kooliokevin,
You can use a combination of ForAll, Sequence & Collect to achieve this (adjust where necessary):
ForAll( Sequence(ComboxBoxName.Selected.Value), Collect(colRecordCount, ThisRecord.Value) )
If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.
Thanks!
Fantastic, this works, thank you!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 528
WarrenBelz 426 Most Valuable Professional
Valantis 306