ExportToDelimitedFile Method
The ExportToDelimitedFile method exports the specified rows from the control to the specified file as delimited ASCII text, where each row (record) occupies its own line.
TDBList.ExportToDelimitedFile pathname, [delim], [selector], [prefix], [suffix]
Arguments
pathname specifies the file to which list rows are exported.
delim specifies an optional delimiter string used to separate fields.
selector is an optional value that specifies the rows to be exported.
prefixspecifies an optional string used with suffixto surround each value.
suffixspecifies an optional string used with prefix to surround each value.
Return Value
None
Method applies to TDBList control.
Fields are delimited by the delim string (the default delim is empty). Field values can also be placed between a prefix string and suffix string.
The selector argument determines the rows to be exported. It can be one of the following constant values:
0 - dblRSAllRows |
All available rows are exported. If the selector argument is omitted, this value is assumed. |
1 - dblRSSelectedRows |
Only selected rows are exported. The control's SelBookmarks collection contains a bookmark for each selected row. |
2 - dblRSCurrentRow |
Only the current row is exported. |
See Also