Add A Dynamic Number of Rows

Hi all!

I have a scenario where each user needs to be assigned an expense each month.
So far I haven’t found a way to dynamically create a record for each user in an expense table.

The ideal scenario is as follows:

  • There are 10 users.
  • I click a button and it creates 10 rows in an expense table, with each row containing a unique User ID.
  • If the number of users increases to 11, the next time I click the button it creates 11 rows, etc.

Hope that makes sense!

Has anyone found a solid way of getting this done?
With only 10 users, it’s not too hard to add the rows one by one, but ideally I could streamline this since the expense is the same for each user.

Any help would be greatly appreciated!

Cheers :beers:
Marco.

Only way to make this happen is to send the row count and user info info to a service like make to have it iterate through an add row command x number of times.

3 Likes

Thought that might be the case…
Thanks for your response! :pray: