[V4RB] How to detect if database is already opened?

Peter De Berdt peter.de.berdt at pandora.be
Tue Jun 3 14:12:01 CDT 2003


>on 6/3/03 11:18, Peter De Berdt at peter.de.berdt at pandora.be wrote:
>
>
>>  It also crashes when you've updated the database
>>  structure and forgot to create the new fields in the datafile. When
>>  accessing one of these fields, the RB app crashes. It should throw an
>>  error too instead of crashing, but I've got use to debugging by
>>  crashes :)
>
>I going change this in 2.0
>
>By automatic update of db structure to reflect changes in classes.
>On the other hand this can be danger. May be you do not want to do this...
>Will see.

Sounds great. Can't imagine a situation that doesn't want the 
database to be updated, but if that's the problem, why don't you make 
it a flag?

E.g. VDatabase : autoUpdate=boolean
-- 

Best regards,

Peter De Berdt
--------------
My software never has bugs, it just generates random features...


More information about the Valentina mailing list