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

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

Pascal
property OnGetCellValue: TOnGetCellValue;
C++
__property TOnGetCellValue OnGetCellValue;
Parameters 
Description 
Sender 
FlexCelReport component sending the event. 
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. 

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!