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.
  1. To export a database table to a CSV file
  2. From the toolbar, select
    Template Libraries
    and search for
    Generic Table Exporter
    .
  3. From
    Libraries
    , under
    Components
    , drag
    Generic Table Exporter
    to
    NetLogic
    in
    Project view
    .
  4. In
    Properties
    , complete:
    • CSVPath
      . The path to the CSV file to which the alarms history will be exported.
    • FieldDelimiter
      . A character used to delimit values of a row.
    • Table
      . A database table.
    • Query
      . An SQL query to filter data. For more information, see Compose SQL queries.
    • WrapFields
      .
  5. Associate the
    Export
    method of
    GenericTableExporter
    with an event.
    For example, associate the
    Export
    method with the
    MouseClick event
    of a button.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.