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, &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 -- Lazarus Notes from Lazarus Internet Development http://www.lazarusid.com/notes/ Articles, Reviews and Commentary on web development

