Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread DataSet
Fri, May 4 2012 4:06 PMPermanent Link


Hi, how to use the DataSet Find method please
Mon, May 7 2012 12:19 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.


Email timyoung@elevatesoft.com


<< Hi, how to use the DataSet Find method please >>

Use something like this:

  MyDataSet.Columns['MyColumn'].AsString:='Find this value';
  if MyDataSet.Find(<Nearest>,<CaseInsensitive>) then
     FindLabel.Caption:='Not Found';

The Nearest and CaseInsensitive Boolean parameters are optional, and the
Nearest parameter can only be used if searching on a sorted dataset where
the columns that you're searching on are part of the active sort.  If not,
you'll see an error message.

Declaration is here:


If you have any other questions, please let me know.

Tim Young
Elevate Software