does V4MD back itself up?

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Feb 25 23:00:43 CST 2004


on 2/25/04 10:44 PM, Andrew Sinning at andrew at learningware.com wrote:

> I'm can't believe that this is happening, but I have to make sure before
> I go digging around for an explanation:
> 
> Does V4MD have some kind of built-in procedure so that if the Director
> Projector that is connected to a db crashes (or does a force-quit)
> without explicitly disconnecting from the db, then the db reverts to the
> state it was in when opened?

NO.

You get the latest state after flush()

> I finding the strangest thing:   If I force quit out of my Projector
> without doing
> 
> 
> dbConn.CloseDatabase()
> ValentinaShutDown()
> 
> 
> then the next time I open the db it is back where it was the last time I
> opened it.
> 
> Am I out of my mind, or is this a feature?

I assume you have made very small changes, so they fit into Valentina cache.
And you have not made Flush()

Add flush to you code


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