Can't open sqlite disk file in XP standalone

Peter Haworth pete at lcsql.com
Sat Mar 7 15:45:21 EST 2015


I see. Is there any error message displayed by the error handler?


On Sat, Mar 7, 2015 at 12:41 PM Dr. Hawkins <dochawk at gmail.com> wrote:

> 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
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list