Xbasic
Office::ExcelDocumentAddSheetFromDBF Method
Syntax
.AddSheetFromDBF as Office::Spreadsheet (Table as P, SheetName as C [, IncludeHeadings as L [, RowsToCopy as N [, StartRow as N [, ReferenceColumns as P [, UserContext as P]]]]])
Arguments
- TablePointer
- SheetNameCharacter
- IncludeHeadingsLogical
- RowsToCopyNumeric
- StartRowNumeric
- ReferenceColumnsPointer
- UserContextPointer
Returns
- resultOffice::Spreadsheet
Description
Create a new spreadsheet and add it to the document. Add the data in the table. Optionally include headings, select a range of rows and include a SQL::TableInfo and user context to handle advanced transformations.
Example
dim Doc as Office::ExcelDocument
See Also