Two DB questions

Klaus Major klaus at major-k.de
Thu Oct 23 05:09:29 EDT 2008


Hi all,

1. One can move to the first/prev/next/last record in a DB cursor  
with: revdb_moveXXX(Cursor_ID)
Is it also possible to go to a specific record NUMBER? Maybe I  
overlooked this in the docs...

2. Since I cannot test it in the moment, how can one check if an  
existing table does NOT contain any data/records (yet)?
I presume one can get a db cursor first and then check  
"revdb_recordcount" = 0.
Is that correct?

Thanks a lot in advance!


Best

Klaus Major
klaus at major-k.de
http://www.major-k.de


P.S.
I updated my bass page recently.
Now with some sound snippets, more to come in the next time.
http://www.major-k.de/bass





More information about the use-livecode mailing list