Logged out, click to login

JEDI Online help - Details



Back to unit JvCsvData.pas Back Edit Search Administration

TJvCustomCsvDataSet.UserTag

Summary
A user-defined Integer property for the currently active row in the dataset.

Description
The current row of the dataset can have a special user-tag property, per row. This is helpful if you want to go through a dataset, and flag certain rows as 'selected', and for other user-defined purposes. This data is NOT stored as part of the CSV file and exists only in memory.<br> <br> Example:<br> <CODE><PRE> MyCsvDataSet.First; while not MyCsvDataSet.Eof do begin if MyCsvDataSetMYFIELD.Value='XYZ' then MyCsvDataSet.UserTag := 1; // Flag XYX rows. else MyCsvDataSet.UserTag := 0; MyCsvDataSet.Next; end; </PRE></CODE> UserData: Same idea as UserTag, but it's a pointer.<br>

See Also
TJvCustomCsvDataSet.UserData

Last changed by obones on 2009-01-05 18:01:40 CET

Copyright (c) 2004 by the JVCL Team; all rights reserved
Uses PclZip by phpconcept and parts of the PEAR library