question

PD avatar image
0 Likes"
PD asked Borja Lorenzo commented

No options of To Table about database connector export data to

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?

dbexport.png

FlexSim 22.2.0
export datadatabase connectorflexscript coding
dbexport.png (59.6 KiB)
· 1
5 |100000

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

Borja Lorenzo avatar image Borja Lorenzo commented ·

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:
1727783567249.png

0 Likes 0 ·
1727783567249.png (12.5 KiB)

0 Answers