question

Thomas JR avatar image
0 Likes"
Thomas JR asked Thomas JR commented

Is it possible to append Table.query table to some global table?

Title. Currently I simply manually add rows to the global table and fill in each table entry but it is quite slow.

FlexSim 20.2.3
global tableflexsim 20.2.3sql query
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Steven Hamoen avatar image
0 Likes"
Steven Hamoen answered Steven Hamoen commented

@Thomas JR It looks there is not a single method you can use, but it is not too complex to write a simple for loop that loops through the result of your query and copies the information to a table.

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Roi Sánchez avatar image
1 Like"
Roi Sánchez answered Thomas JR commented

Hi @Thomas JR, take a look at the cloneTo() method. You can easily clone the result of a query to a Global Table.

· 7
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.