[Gambas-user] Database edit failure

Benoit Minisini gambas at ...1...
Sun Sep 10 17:45:42 CEST 2006


On Wednesday 06 September 2006 03:16, Mitchell R. Pryor wrote:
> I'm trying to use the Connection 'edit' method to learn how to update an
> sqlite database record and it fails saying that my table does not have a
> primary key.  The file does have a primary key defined as follows:
> create table phdir (recid integer primary key, ...). I'm using version
> Gambas1.0.14 as provided by Fedora Core 5.  Does this method not work in
> this version of Gambas?
>

Unless you know exactly what you are doing, you must create your database with 
the gambas database manager if you want to use the Find(), Edit() and 
Create() methods.

Regards,

-- 
Benoit Minisini





More information about the User mailing list