Re: [sqlite] sqlite3_open function

2007-08-11 Thread John Stanton
Perform an "access" or equivalent instruction before calling sqlite3_open. fred238 wrote: hello, Is there a way to not create a database while the db file is not found with the sqlite3_open function ? Why don't just create a create_table function instead of ? regards, fred. -

Re: [sqlite] sqlite3_open function

2007-08-10 Thread fred238
Eric Pankoke a e'crit : The best way is to just check if the file exists in whatever language you're using before you call sqlite3_open. Eric Pankoke Founder Point Of Light Software http://www.polsoftware.com/ -Original Message- From: fred238 [mailto:[EMAIL PROTECTED] Sent: Friday, Au

RE: [sqlite] sqlite3_open function

2007-08-10 Thread Eric Pankoke
The best way is to just check if the file exists in whatever language you're using before you call sqlite3_open. Eric Pankoke Founder Point Of Light Software http://www.polsoftware.com/ -Original Message- From: fred238 [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007 11:28 PM To: