Re: [sqlite] creating a .db from program

2005-03-21 Thread aleks ponjavic
sqlite3_open(filename, &db); where filename is the name of the new file. In theory you should also be populating it with some SQL tables, but I don't know enough details of your application to write that code. Clay That's very much good enough thank you. Didn't realize that it would automaticly c

Re: [sqlite] creating a .db from program

2005-03-21 Thread Clay Dowling
aleks ponjavic said: >>From the quick start I've learned how to manipulate a db file but this is > one created from dos shell. > Since my program uses databases, when a user creates a new file a new db > should also be created how can I do this from within the program? > sqlite3_open(filename, &d

[sqlite] creating a .db from program

2005-03-21 Thread aleks ponjavic
From the quick start I've learned how to manipulate a db file but this is one created from dos shell. Since my program uses databases, when a user creates a new file a new db should also be created how can I do this from within the program? ___