SQLYoga and LC 6.6

Kay C Lan lan.kc.macmail at gmail.com
Wed Mar 12 22:04:34 EDT 2014


On Thu, Mar 13, 2014 at 9:18 AM, Kay C Lan <lan.kc.macmail at gmail.com> 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).



More information about the use-livecode mailing list