[V4MD1?] director data base problems
Jennifer Hall
jennifer at jennifershall.com
Wed Jul 5 09:58:16 CDT 2006
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.
Thanks
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 5:50 AM
To: valentina at lists.macserve.net
Subject: Re: [V4MD1?] director data base problems
On 7/5/06 2:37 AM, "Jennifer Hall" <jennifer at jennifershall.com> wrote:
Hi Jennifer,
> I'm trying to execute the following code in director
>
> pCursor = xtra("VCursor").new(pCurrentDataBase.getRef(), sql,2,3,2)
I assume this is V4MD v1, right ?
> if I open this database (pCurrentDataBase)immediately before this, it
works
> fine. however, if the database is opened from a previous command and is
> still open, the getRef command works fine, but the xtra("VCursor").new
> returns a large negative number.
> I thought you could leave the data base open until you didn't need it any
> more. what am I doing wrong or what do you suggest.
Yes you can keep db opened long time and use it.
It sounds like some your middle commands cause problem,
Commands that are between db.open and cursor creation.
Also, if cursor is not created you need check Valentina error code
And error message to see where is problem.
Also you can like enable debug log of V4MD
--
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