VCursor - help please!
Greg Olson-Hyde
greg at hawkmount.com
Mon Sep 7 08:50:58 CDT 2009
Hi all,
Things are moving on well. But I am having a seniors moment with the
VCursor.
In my old SQLite code, following a SELECT I have:
RS.MoveNext
Which works. But, changing all my RecordSets to VCursors does not
allow me to move to the next record, there appears to be no 'MoveNext'
equivelant.
vCurs.MoveNext
Does not work. I used the RB autocomplete feature but can see nothing
to allow a movement between records.
VTable on the other hand, DOES have a 'MoveNext'...Hmmmmmm
The V4RB_Reference says of VCursor "This class provides the result of
the execution of a SQL SELECT statement. Valentina of-
fers a cursor with a random access to the records." So, it would
appear that VCursor is the correct class to use, not VTable - but
judjing by the evidence above, it looks as though I should be using
VTable.
If this is true why would Ruslan suggest that I change all my
RecordSets to VCursors?
> RecordSets -- just do Find Replace over all project replace to VCursor
Yours as always in confusion,
Greg Olson-Hyde
Sydney Australia
2.8 GHz Quad-Core Mac Pro
Mac OS X 10.5.8
RB 2009 r2.1 Pro
Valentina Studio Pro 4.2 trial
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macserve.net/pipermail/valentina/attachments/20090907/4a11fe77/attachment.html
More information about the Valentina
mailing list