[V4RB] CurrentPosition
Ruslan Zasukhin
sunshine at public.kherson.ua
Wed Jun 9 10:38:02 CDT 2004
On 6/9/04 9:21 AM, "Christer Olsson" <christer at ljusaideer.se> wrote:
>> On 6/8/04 10:51 PM, "Christer Olsson" <christer at ljusaideer.se> wrote:
>>
>>> Why is curs.Currentposition 1 at myBreakPointHere in my code below? i is 15,
>>> just as it should be.
>>>
>>> curs = db.SqlSelect( "SELECT RecID,* FROM table" )
>>> curs.CurrentPosition = 15
>>> i = curs.ULongField("RecID").Value
>>> myBreakPoinHere
>>
>> I think you need specify kRandomAccess when you create cursor.
>
> I tried that, too, before posting to the list - with the same result.
> But if I need to specify kRandomAccess, why is i =
> curs.ULongField("RecID").Value giving back the value for record 15 instead of
> record 1?
No idea, Christer,
If you can please send me some project that reproduce.
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina
mailing list