[Gambas-user] database eof and bof

Neil Fallon nfallo at ...734...
Sun Mar 6 18:26:06 CET 2005


Hi Rob,

It's easier to just code around it for what I'm doing.

Neil

On Sun, 2005-03-06 at 11:14 -0500, Rob wrote:
> On Sunday 06 March 2005 09:09, Neil Fallon wrote:
> > When I check Available on the last record I get an error stating
> > there are no more records.  I don't want the message transmitted to
> > the user.
> 
> Well, I'd call that a bug in either gb.db or the driver for whichever 
> database you're using.  Hopefully someone with gb.db.* knowledge will 
> look into it, since there's not much point in having a flag 
> indicating whether there's a record available if it just raises an 
> error instead of returning FALSE.
> 
> Have you looked at TRY (probably not useful in this case because it 
> doesn't work with IF statements) or CATCH to trap the error?
> 
> Rob
> 
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list