Subject | Re: [IBO] Getting validation source from a domain |
---|---|
Author | Thomas Steinmaurer |
Post date | 2006-10-18T11:11:40Z |
Hi,
Quoting Jason from the FAQ section:
First closes the cursor (if open) then opens it and fetches the first
row. Calling open may just open the cursor and leave you at BOF, i.e.
before the first row.
Regards,
Thomas
> I found the mistake in my code for the original problem but have a fewSure, when using a TIB_Cursor which I think you do, right?
> questions about your recommendations.
>
>> Use lCursor.First instead of lCursor.Open
>
> Does it matter? I'd like to know why more then just know how.
Quoting Jason from the FAQ section:
First closes the cursor (if open) then opens it and fetches the first
row. Calling open may just open the cursor and leave you at BOF, i.e.
before the first row.
>> When checking if a result set is empty or not, you'd better use theMixed that up with something else.
>> .IsEmpty method.
>
> In my IBO, .IsEmpty returns a compile time error (undefined) for a
> TIB_Cursor.
Regards,
Thomas