Hi all,
I am trying to use a calculated table to show real time stats in a bar graph. The calculated table is working fine if I manually update it when modifying the query to a global table. I realised I have to modify this query by inserting or deleting a blank space in the Query field and then pressing Update and only by doing this while running the model, the bar graph shows the data in the calculated table.
I want to update the calculated table on Model Start by using code and this is working only if I modify the query before (adding or deleting a blank space) updating it (while running the model, which is not a right solution). Is this a bug? I am working with the latest FlexSim version 18.1.
This is the code I am using to update them:
treenode table1 = model().find("Tools/CalculatedTables/CalcTable_SaturacionOperarios");
function_s(table1, "update", 1);
If this is a bug, I think I could solve it if there was a way to modify the query in the Calculated table field by using code.