[Gambas-user] database eof and bof

Rob sourceforge-raindog2 at ...94...
Sun Mar 6 07:45:55 CET 2005


On Sunday 06 March 2005 01:31, Neil Fallon wrote:
> I am at the whims of the users moving forward and backward.  The
> easier way for me may be to just check the first and last records
> in the database.  My key field is an auto increment number.  I can
> just check if the value is 1 for the first record or what ever the
> number is for the last record value in the database.

I guess that's cool as long as you're sure there'll never be holes in 
the database, but I personally would check r.Available regardless to 
avoid the possibility of a runtime error.

Rob






More information about the User mailing list