[Gambas-user] Database problem

Benoit Minisini gambas at ...1...
Thu Aug 17 14:49:49 CEST 2006


On Thursday 17 August 2006 13:41, juanra wrote:
> - Id: 500
> - First Name: PEPE
> - Name: SASA
>
> The rest of fields in target.
>
> Pressing the icon “new” of the control of the Datasource and writing all
> the Datacontrol and when pressing the icon “to keep” to insert it in the
> table leaves the error: “Cannot create record: Duplicate entry “xxx” for
> key 1”.
>
> I am sure that I number of “Id:” not this duplicate in the table.
>
> It leaves the error and later it puts it in the table.
>

Are you *really* sure? Because the example creates by default 1000 records in 
the database, with ID from 0 to 999. The error message comes from the 
database, and the database is rarely wrong!

-- 
Benoit Minisini





More information about the User mailing list