JVCL Help:TJvCustomCsvDataSet.OnSetFieldData

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Event fired when field data is going to be updated from data aware control back into our Dataset.


Pascal

 TJvCsvOnSetFieldData = procedure (Sender: TObject; UserTag: Integer; UserData: Pointer; FieldName: string; Value: string) ofobject;
propertyOnSetFieldData: TJvCsvOnSetFieldData;


Parameters

Parameters Description
FieldName The field name we are being asked for?
Value This is the new changed field value (encoded as a CSV string) which is being put into the CSV file.
UserData The record's data (pointer) property. Perhaps this is the custom object that contains the actual data?
Sender Description for this parameter
UserTag The record's tag (integer) property


Description

An OnSetFieldData event written by the end user allows the end user to create a Virtual DataSet where the data in the CSV rows is really just a cache which can be updated when displayed and when a change is made to the cached data, the change can also automatically be written to the place where the data really came from.


See Also

TJvCustomCsvDataSet.OnGetFieldData, TJvCustomCsvDataSet.GetUserTag, TJvCustomCsvDataSet.SetUserTag, TJvCustomCsvDataSet.GetUserData, TJvCustomCsvDataSet.SetUserData, TJvCustomCsvDataSet.SetAllUserData


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page