main logo
Subject: Re: cursor and V4md client problem
Author: Gregory Kowalski
Posted: 2004/04/30 18:14:25
 
View Entire Thread
New Search



On Apr 28, 2004, at 11:00 PM, valentina-request AT lists DO.T macserve.net
wrote:

>
>>> Just in case try kServerSide cursor,
>>>
>>> 2, 2, 2
>>>
>>
>> I just tried it with 2,2,2 - it doesn't work either and it is MUCH
>> slower.
>
> Well, then I need some project from you that reproduce your problem.
>
> Try modify existed examples.
>
> Make project as simple then possible, then may be you will find it
> working.
> Because on our side it looks all right,

I did some simple navigation tests with V4MD_Client and found that the
problem lies in the GoToRecord command.

This is what I did:

1. I make a query

2. I cycle forward (results appear ten at a time) - OK

3. To go backwards and display the previous ten results I do the
following:

v = getposition(gmycursor) - 21
gotorecord gmycursor, v

repeat with i = 1 to 10
nextrecord(gmycursor)

populatefields

end repeat


I discovered that although I go to an earlier record (v), the
NextRecord command completely ignores the GoToRecord command.

For example cursor is at position 51.

I send it to position 30, but on nextrecord (gmycursor) the position
will be 52 instead of 31!!!

This problem does not exist with V4MD (and I am using kRandom).



Greg


_______________________________________________
Valentina mailing list
Valentina@lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina

 
©2004 Gregory Kowalski
<-- Prior Message New Search Next Message -->