[V4MD1?] director data base problems

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Jul 5 17:26:21 CDT 2006


On 7/5/06 4:58 PM, "Jennifer Hall" <jennifer at jennifershall.com> wrote:

> Ruslan,
> Thanks for the help and you are correct in assuming V4MD v1.
> I checked the error being returned and it's 363 - Cannot set record lock'.
> Any clues or suggestions based on that. I'll look through the code to see if
> I'm doing anything to the data base after opening it.

This means that you try create cursor for records which already are locked
by other cursor

You need then or

1) destroy first cursors

2) or use NO LOCKS for both cursors

3) or use compatible record locks for both cursors

pCursor = xtra("VCursor").new(pCurrentDataBase.getRef(), sql,2,3,2)
                                                            ^^^^^^^^

Also I recommend make constants and use here constants with names.


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list