Can't open sqlite disk file in XP standalone

Dr. Hawkins dochawk at gmail.com
Sat Mar 7 15:40:55 EST 2015


On Sat, Mar 7, 2015 at 12:04 PM, Peter Haworth <pete at lcsql.com> wrote:

> So what ends up in PrefsDB?  Not sure what you mean by "causes an error
> rather than returning an error code".
>

Nothing; the line is never reached.  It's an execution error, goes to the
execution error handler, and stops dead.

>
> Don't know if this might help, but I always check the db file exists (if
> there is a file PrefsFilNam) before opening any sqlite database, just too
> error prone without doing that.
>

I check for the folders existence, but sqlite creates new files by opening
them, which  is what I'm really trying to test.



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



More information about the use-livecode mailing list