|
|
|
|
|
- Creating a Spreadsheet control in a report
- Creating the control
- Characteristics of Spreadsheet control in a report
- Handling a Spreadsheet control in a report programmatically
Spreadsheet control in a report
Creating a Spreadsheet control in a report Creating the control To create a Spreadsheet control: - On the "Creación" tab, in the "Datos" group, click "Hoja de cálculo".
- Click where you want to create the control.
To view the characteristics of the control, select "Description" in the context menu. Note: The data displayed by a Spreadsheet control in a report can: - be determined through programming (for example, direct display of an xls or xlsx file).
- correspond to a memo item in a data file or query, etc.
correspond to a Spreadsheet control in a window. - correspond to an xlsDocument variable.
Characteristics of Spreadsheet control in a report The main characteristics of a Spreadsheet control in a report are defined in the different tabs of the description window of the control: - Tab "General": The option Escalado corresponds to the property AdjustmentMode. The available options are:
- No scaling: The spreadsheet sheet is printed at its own size.. The print can be performed on several pages in width and in height if necessary.
- Fit the spreadsheet to the field dimensions: The spreadsheet will be reduced to fit entirely within the Spreadsheet control area..
- Fit all columns to field width: Columns in the spreadsheet will be reduced or enlarged so that all columns in the spreadsheet are displayed within the width of the field..
- Adjust all rows to field height: Rows in the spreadsheet will be reduced or enlarged so that all rows in the spreadsheet are displayed at the height of the field..
- Tab "Link": Used to define the link for the Spreadsheet control.. The control can be:
Handling a Spreadsheet control in a report programmatically You can associate the Spreadsheet of a report with: - a variable of type xlsDocument. Simply use the code:
<Spreadsheet control> = <xlsDocument variable> - an xls/xlsx file. Simply use the code:
<Spreadsheet control> = <Path of xls/xlsx file>
Warning: Spreadsheet control functions cannot be used on the Spreadsheet control of a report..
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|