I have already connected with database. Why no options of "To Table" can let me export my flexsim table?
Could you provide me the coding to export my data to dasebase?
I have already connected with database. Why no options of "To Table" can let me export my flexsim table?
Could you provide me the coding to export my data to dasebase?
Hello @PD
The same thing happens to me. You can use the following syntax detailed in the manual:
Database Connectors (flexsim.com)
FlexScript Class - Database.Connection (flexsim.com)
The question is to understand why the Database Connection tool does not show the tables of the database we are connected to. I have several queries made about it, if I get any satisfactory response, I will let you know.
If the code I wrote could be of help and confirmed that there was a connection to the database and I was able to write two values, it is this one:
Hi @PD,
We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.
If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.
Hello,
The export function of the DataBase Connector is still not working. To perform the export, I had to do it through the code, using this part of the manual. However, I would like to know if I have a configuration problem or if it is a software bug.
Hello @PD ,
This has been submitted to the development team. A workaround for the time being is to go into the tree node and add in the table name there.
MODEL:/Tools/DatabaseConnectors/DatabaseConnector1>variables/exporters/1/tableName
I did not have the UI open when writing the table name. This will prevent the UI from overwriting what you wrote in the tree node. You can open the UI after you have added the table name.
Hello @PD ,
This works for me.
I share the link to my answer posted: https://answers.flexsim.com/comments/172543/view.html
13 People are following this question.
Export new added row from global table to SQL database
How to export the turn time stats for each arriving truck to an Excel sheet in FlexSim CT ?
How can a write values to a Global Table?
How can I export some tables to excel with tirggers commands?
flexsim live data to another program (excel, note pad, the web)
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved