Program crash on open Db

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Sun Jan 17 08:18:17 CST 2010


On 1/16/10 9:14 PM, "Richard McCoy" <mcrmedia1 at insightbb.com> wrote:

Hi Richard,

> I'm experiencing an anomaly with simple open and close routines in Director
> 11.5. First I can create a new Dbase such as:
>     MyDb = new(xtra VDataBase", #kLocal)
> and then open a Dbase such as:
>     MyDb.open("C:\Db")
>  
> Works great. I can then close the Db such as:
>     MyDb.close()
>  
> The problem arises when I attempt to open a different Dbase using the same
> global. If I simply open the new Dbase, then about half the time it opens
> okay, but the other half it causes a "Fatal Error" and crashes the program.
> I'm error checking to be sure the Dbase has closed before attempting to open a
> new one.
>  
> I can correct the problem by always recreating the global before opening any
> Dbase.

MyDB = void

And later

     MyDb = new(xtra VDataBase", #kLocal)

  
> Question: is this the preferred method, or should I be able to open and close
> Dbases using the same global with no problems?

It looks like a glitch.

Please report it to mantis (just copy paste this letter),
so we will not forget it

 
> Thanks.
>  
> Richard McCoy
> Executive Creative Director
> MCR Media Associates, LLC

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