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

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Jun 3 16:01:31 CDT 2003


on 6/3/03 15:12, 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

Good idea, Peter.

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