Subject | Re: [IBO] Determining if there is only one record in a result set |
---|---|
Author | Robert martin |
Post date | 2008-02-13T00:14:39Z |
Thanks Jason will try it.
Just one more question, as I am moving the InternalDataset will this
cause any problems if I later perform operations on the IBOQuery. I ask
this as if not I will add a .OnlyOneRecord property to our Query
component (which inherits from TIBOQuery).
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
Jason Wharton wrote:
Just one more question, as I am moving the InternalDataset will this
cause any problems if I later perform operations on the IBOQuery. I ask
this as if not I will add a .OnlyOneRecord property to our Query
component (which inherits from TIBOQuery).
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
Jason Wharton wrote:
>> Is there an easy / good performance way of determining if a
>> result set
>> contains only one record?
>>
>> I am using TIBOQuery and want to avoid using .recordcount or
>> trying to loop through the result set.
>>
>
> Set InternalDataset.BufferRowNum := 2 and then check if
> InternalDataset.BufferEof.
>
> Jason
>
>
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more !
> Yahoo! Groups Links
>
>
>
>
>