Opening an older db

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Jul 12 23:27:52 CDT 2004


On 7/12/04 9:45 PM, "jda" <jda at his.com> wrote:

> Ruslan, what's the best way to figure out if a db being opened in
> V2.x was made with V1.x?

I think we will make special function for this.
Jochen already have ask about this for Valentina Studio.
 
> Should we always try to open the db as a generic VDatabase and test
> for the SchemaVersion (assuming we used it, as I have been)? The
> close it an reopen myDB.Open(f) it is 2.0?

I dream about new special function

    Convert_1_2( db_1, db_2 )


> Or is there a way that doesn't involve opening each db, closing, and
> reopening  it (which will become wasteful, because once users have
> migrated all their databases to V2.0 this won't be necessary)?
> 
> It seems that this would be a good place for an exception/try-catch
> block. But when I trap the exception that's thrown the error message
> is blank...

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina-beta mailing list