[V4MD1?] director data base problems

Jennifer Hall jennifer at jennifershall.com
Wed Jul 5 10:29:37 CDT 2006


Thank you so much. It was exactly as you said.
Thanks again
Jennifer

-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] On Behalf Of Ruslan Zasukhin
Sent: Wednesday, July 05, 2006 10:26 AM
To: valentina at lists.macserve.net
Subject: Re: [V4MD1?] director data base problems

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]


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



More information about the Valentina mailing list