[Gambas-user] Return values for gb.db Results
Fabien Bodard
abidoo.too at ...11...
Wed Mar 17 12:24:07 CET 2004
Le Mercredi 17 Mars 2004 07:49, Rich Falconburg a écrit :
> Ok. It says that MoveNext and MovePrevious will return TRUE if there's no
> next record. How does one go about testing for this? I get type mismatch
> when testing the boolean condition as in:
>
> bRC = rResult.MoveNext
>
> It says "got function instead". Am I oversimplifying the test here? I'm
> sure I must be doing something wrong. Any help would be appreciated.
>
> I've not done BASIC stuff in a long time but it's amazing how fast it
> comes back to you. Already got a decent database frontend working but this
> little piece is creating some headaches.
>
> Thanks!
bRC = rResult.MoveNext() ... just add '()'
Fabien
More information about the User
mailing list