Export a database table to a CSV file
You can use the Generic Table Exporter script to export the contents of a table to a CSV file.
Ensure to have the following items to configure the Generic Table Exporter script:
- Table
- A database table.
- FieldDelimiter
- A character used to delimit values of a row.
- CSVPath
- The path to the CSV file to which the alarms history will be exported.
- Query
- An SQL query to filter data. For more information, see Compose SQL queries.
- From the toolbar, select and search forGeneric Table Exporter
- FromLibraries, underComponents, dragGeneric Table ExportertoNetLogicinProject view.
- Associate theExportmethod ofGeneric Table Exporterwith an event.For example, associate theExportmethod with theMouseClick eventof a button.
Provide Feedback