[Lazarus] More explorations with tiOPF (continued)
Frank Church
vfclists at gmail.com
Sat Mar 19 18:52:44 CET 2011
In relation to using SQLite as the persistence layer in Demo_OneToMany when
I disable all the other persistence layers and sqlite as the default this
error comes up.
========[ available ]=========
> Sqldb_SQLLite3
> ========[ default ]===========
> Sqldb_SQLLite3
> ==============================
> TApplication.HandleException Operation is not supported by this type of
> database
>
> Stack trace:
> $00560668
> $00556A75 TTIPERSISTENCELAYER__CREATEDATABASE, line 248 of
> C:/lazarus28240/c
> omponents/tiOPF2/Source/Core/tiPersistenceLayers.pas
> $00423310 TFORMMAINONETOMANY__CREATETABLES, line 84 of
> FMainOneToMany.pas
> $004236AC TFORMMAINONETOMANY__FORMCREATE, line 149 of
> FMainOneToMany.pas
> $00419263 TCUSTOMFORM__DOCREATE, line 720 of ./include/customform.inc
> $0041ADF8 TCUSTOMFORM__CREATE, line 1553 of ./include/customform.inc
> $0041C939 TFORM__CREATE, line 2452 of ./include/customform.inc
> $00422148 TAPPLICATION__CREATEFORM, line 1963 of
> ./include/application.inc
> $00402A0E main, line 32 of Demo_OneToMany.lpr
>
Does that mean CreateDatabase is not supported for sqldb components or
sqlite3 only?
PS. How do I get my programs to display a stack trace as above, so I can see
where the exceptions are occuring?
--
Frank Church
=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110319/5e13de94/attachment-0002.html>
More information about the Lazarus
mailing list