[yunqa.de] Re: How to open SQLite database file regardless if the file exists or not

  • From: Tobias Rapp <t.rapp@xxxxxxxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Mon, 7 Feb 2011 14:43:12 +0100

Delphi Inspiration wrote:
> I suggest to check from the main thread if the database file exists and
> otherwise create it from right there, before you run any additional
> threads.

As I try to avoid use of exceptions as "expections" (i.e. I expect the
exception to be triggered when running the application for the first time) I 
will do it like that.

Thanks for the suggestions!

Regards,
Tobias

_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
//www.freelists.org/list/yunqa



Other related posts: