Exporting Collections to External Files
You can export the data in a collection to an external file, which in turn can be imported into another application. Field values in the external file can be separated by either commas or tabs. Each record in the collection becomes a row in the exported file. Each field (property) becomes a column.
If you want to export the files to a spreadsheet, you can use the To Excel option instead of this process.
Note:
- By default, columns in the file are ordered left-to-right according to an internal property list. The order does not necessarily follow the order of columns in any grid shown on the form. However, if you use the To Excel menu option, and the currently selected field is either in a grid or has a related grid on the form, you can choose whether the spreadsheet should match the sequence of columns in the related grid or the order of the internal property list.
- In the spreadsheet, columns are created for the data (property) for each visible component on the form. If more than one visible component is bound to the same data (for example, a grid column and a combo box), there is just one column in the export. Columns that are hidden on the form are still included in the export if other visible components are bound to the same property.
- Rows with multi-line fields that contain carriage returns and line feeds do not export to a file in a regular way. To export such rows, you must copy the collection to a spreadsheet. For more information, see Copying Data to/from a Spreadsheet.
To export a collection to an external file:
Related topics