Sign in to follow this  
Followers 0
AutoitMike

Open an SQLIte EXISTING database file

2 posts in this topic

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



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0