On Thu, Mar 13, 2014 at 9:18 AM, Kay C Lan <[email protected]> wrote:

> In LC, in multi-line msg box,
>
> put revOpenDatabase("sqlite","/Users/me/my.sqlite",,,) into tDbID
> put "SELECT sqlite_version()" into tDbQuery
> put revDataFromQuery(,,tDbID,tDbQuery) into msg
>

Whoops, should have included one more line:

revCloseDatabase tDbID

And also remember if you use Val Studio first you need to disconnect the DB
otherwise you'll get an error when you try to concurrently connect LC (if
you are testing against the same DB).
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to