Release 10.1A: OpenEdge Development:
ADM Reference

> ## exportData

> Procedure that export the contents of a SmartDataObject (SDO) to another program.

> Location: data.p

> Parameters:

> `INPUT phDataObject AS HANDLE`

> The input data object handle from which to export data.

> `INPUT pcType AS CHARACTER`

> The input type. The current options are Excel or Crystal.

> `INPUT pcFieldList AS CHARACTER`

> Either a list of input fields (Visible Fields only) or a blank ?? for all (no table prefix).

> `INPUT PARAMETER plIncludeObj AS LOGICAL`

> Indicates whether or not the input should include object fields. The options available are Yes or No.

> `INPU PARAMETER plUseExisting AS LOGICAL`

> Indicates whether for to use the currently running program (Currently Excel only). The available options are Yes or No.

> `INPUT PARAMETER piMaxRecords AS INTEGER`

> Maximum number of records to process. ? Is signal to prompt for max records and all or disp. This ensures backwards compatibility if anyone uses the old style of asking before calling printToExcel in an SmartDataObject

> Notes:

> - Always excludes RowObject specific fields. For example, RowNum, RowIndent, RowMod.

> - Uses tableout procedure in the SmartDatatObject (SDO).

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095