V4RB_client a8 uploaded

Ruslan Zasukhin sunshine at public.kherson.ua
Sun May 11 14:36:40 CDT 2003


On Sunday, May 11, 2003, at 12:22 PM, Mike Albert wrote:

> Hi Ruslan,
>
> Sorry I have been away for the last week and unable to do further 
> testing until now.
>
> I just downloaded this version and it seems to be working for my 
> projects (i'll be able to verify fully the error 9 error has gone 
> tomorrow).
>
> I have re-converted one of my projects and noticed some strange 
> behaviour with Cursors and using the "CurrentPosition" value to point 
> to the appropriate rcord in a slectyed cursor.
>
> It seems the CurrentPosition is unable to be set on the cursor and 
> always seems to point to the 1st record.
>
> The below piece of code works fine when I use the normal 1.9.8b2 
> plugin but when I use the a8 client plugin I cannot traverse my 
> cursor. (I am using 2.0a7 of VServer)
> Interestingly it returns the correct number of records selected.
>
>   sql = "select DISTINCT countrycode from OrderTable order by 
> countrycode"
>   vCountryCursor = vOrdersDataBase.SQLselect( sql )
>   u = vCountryCursor.RecordCount
>   for i = 1 to u
>     vCountryCursor.CurrentPosition = i
>     vText = vCountryCursor.Field("countrycode").GetString
>     PopupMenuExclCountry.addrow vText
>   next
>   vCountryCursor = nil
>
> The end result of this code is that I get a popup menu populated with 
> the correct number of entries but they are all the same.  Stepping 
> through the code in the debugger "vText" does not change.
>
> Any ideas?

I think we need check CurrentPosition.


-- 
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