[V4MD1?] director data base problems

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Jul 5 12:50:24 CDT 2006


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]




More information about the Valentina mailing list