[Lazarus] DBGrid picklist error

Bob K. rkamarowski at yahoo.com
Fri Jul 4 00:56:54 CEST 2008


Denis,

I'm having the same problem with RxDBGrid.  Are you not having this problem?

bob k.

--------------------------------------------------
From: "Denis Golovan" <d.golovan.ml at gmail.com>
Sent: Thursday, July 03, 2008 4:15 PM
To: "General mailing list" <lazarus at lazarus.freepascal.org>
Subject: Re: [Lazarus] DBGrid picklist error

> On Thu, Jul 03, 2008 at 03:11:54PM -0400, Bob K. wrote:
>> Anybody?         Please...
>
>> 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.
>
>  Use RxDBGrid for such lookups. Svn version is preferable
>  http://wiki.lazarus.freepascal.org/RXfpc
>
> -- 
> Best regards,
> Denis Golovan aka MageSlayer
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus 





More information about the Lazarus mailing list