[Lazarus] DBGrid picklist error

Jesus Reyes jesusrmx at yahoo.com.mx
Thu Jul 3 22:04:46 CEST 2008




--- El jue 3-jul-08, Bob K. <rkamarowski at yahoo.com> escribió:

> De:: Bob K. <rkamarowski at yahoo.com>
> Asunto: Re: [Lazarus] DBGrid picklist error
> A: "General mailing list" <lazarus at lazarus.freepascal.org>
> Fecha: jueves, 3 julio, 2008, 2:11 pm
> Anybody?         Please...
> 
> 
> From: Bob K. 
> Sent: Sunday, June 29, 2008 12:13 PM
> To: General mailing list 
> Subject: [Lazarus] DBGrid picklist error
> 
> 
> When using a picklist for a table field that references
> another table, the list of entries shows in the picklist,
> but when an entry is selected and I attempt to move to
> another field the following error appears:
> 
> exception class 'EDatabaseError" with message:
> "Canon" is not a valid integer.
> 
> I understand that the entry should actually be an integer. 
> How can I display the selection, but capture the integer of
> the referenced table?
> 
> bob k.
> 

Can you please submit a bug report with a sample project, for db samples of preference please use tdbf or firebird (please supply sql script to create and populate db in this case, or db backup)

Jesus Reyes A.



__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 




More information about the Lazarus mailing list