FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TCustomFlexCelReport.OnGetCellValueX Event

Occurs before a cell from the template is filled with a value.

Pascal
property OnGetCellValueX: TOnGetCellValueX;
C++
__property TOnGetCellValueX OnGetCellValueX;
Parameters 
Description 
Sender 
FlexCelReport component sending the event. 
ExcelApp 
XlsAdapter used by the report. 
FieldName 
Field name that is being read. 
FieldValue 
Value for the field. This variable contains the value read from the database, and you can modify it to a new value. 
XF 
Format for the cell. It contains the default XF that will be assigned to the cell, but you can change it here. (By using ExcelApp.AddFormat) 

This event is fired before each value is written to the Excel sheet. You can modify that value here. 

This can be useful to avoid defining Calculated fields on the dataset. 

 

Note: This event has been obsoleted by OnGetCellValueXRow.  

Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!