Subject Re: [IBO] Defining empty result for TIB_Cursor
Author Jason Wharton
Call the First method and then check Eof.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "Lucas Franzen" <luc@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, May 23, 2002 11:26 AM
Subject: Re: [IBO] Defining empty result for TIB_Cursor


>
>
> vicser schrieb:
> >
> > Is there any method of defining empty result set after
> > SELECT is performed using TIB_Cursor (like TIB_Query.IsEmpty)?
>
> either: if EOF AND BOF
>
> or : if you know the primary key field you can check if it is null:
> FieldByName ( 'PK_FIELD' ).IsNull
>
> Regards
> Luc.