In the flexsim command,there is dbgettablenum() to read the data from the database and dbsettablenum() to update data to the table.but there is no command to insert or delete data.how to operate it?
I think you can do this using dbsqlquery() command. By sending a query you should be able to do whatever commands you would do for your database by passing it with the dbsqlquery() command. (Such as an INSERT INTO command if you are using SQL for your database.) dbsqlquery() as a command just passes whatever SQL statement you give it in its parameter to your open db.
As side note: In order to use the dbsqlquery() command you'll need to open the db in sql mode. You can learn more about that information by looking up the dbopen() command in the Command Help in FlexSim.
5 People are following this question.
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