AutoitMike 0 Posted March 21, 2011 Can someone tell me how to open an existing , File SQL database? The examples in help only show how to create / open / work with / close / query, etc, etc on a database in memory. I have a SQL lite database file already existing at a specific folder with a specific file name. The following returns error: include <sqlite.au3> $FN="c:\temp\Reports.db" $Handle=_SQLite_Open($FN) MsgBox(0,"",$Handle) This does the same thing: include <sqlite.au3> $FN="c:\temp\Reports.db" $Handle=_SQLite_Open($FN=":File:") This is what is shown in the examples, however, it does not work. (I replaced "Memory" with "File") MsgBox(0,"",$Handle) Any help would be greatly appreciated. Share this post Link to post Share on other sites
PsaltyDS 39 Posted March 21, 2011 Do _SQLite_Startup() before _SQLiteOpen(). Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Share this post Link to post Share on other sites