Logged out, click to login

JEDI Online help - Details

Back to unit JvCsvData.pas Back Edit Search Administration


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

The current row of the dataset can have a special user-data 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.UserData := Pointer(MyObject) // Flag XYX rows. else MyCsvDataSet.UserData := nil; MyCsvDataSet.Next; end; </PRE></CODE> UserTag: same idea as UserData, but instead of a pointer, it's an integer.<br>

See Also

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