Subject RE: [IBO] Super Small Example Source
Author Helen Borrie
At 03:03 AM 17/03/2006, you wrote:
>Yea, never mind it works in my sample...I just forgot to change the filter
>criteria in it.
>
>Which still leaves me with my original problem of why it doesn't work in my
>program :(

FindFirst is a Boolean function, designed to test whether there are
any rows returned. Use it if you need to do something like

if not MyDataset.FindFirst then
Showmessage('There are no records matching this value')
else
MyDataset.First; // which is unnecessary with IBODataset, since
you'll be there anyway

If you need to post a code sample another time, use the Files area of
the list's web interface (
http://www.yahoogroups.com/community/ibobjects ). You will find a
sub-directory there where you can post your sample and the list will
receive a message with a link to your file. NO COMPILED CODE PLEASE.

Helen