[solved] Firebird 2.1 + Delphi2010 = EVariantTypeCastError

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
louis
Expert Boarder
Expert Boarder
Posts: 107
Joined: 02.01.2009, 19:41

[solved] Firebird 2.1 + Delphi2010 = EVariantTypeCastError

Post by louis »

Hi,
In lookup Field, if LookupKeyFields Field Type differs of LookupResultField Field Type I have the error in subject (in the test project: TSmallIntField vs TWideStringField).

If Field Type are the same (TWideStringField vs TWideStringField), no errors occur!

I attack a test project.

There a solution?

Zeos version is 7.0.3-stable

Thanks
You do not have the required permissions to view the files attached to this post.
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

louis,

i'll have a look right now... I'll post again if i can fix your reported issue. Hope we've the same behavior with FB2.5 (;
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
louis
Expert Boarder
Expert Boarder
Posts: 107
Joined: 02.01.2009, 19:41

Post by louis »

Forgive me, forgive me, :oops: :oops: :oops:
Everything works fine! :oops: :oops: :oops:

I really wrong to create the TLookupField. (in the test project I created "ztb1lkModo" as type TSmallintField instead was created type TWideStringField!). :cry:

Forgive me again, I was wrong as a rookie. :oops: :oops: :oops:
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

louis,

well relsoved (((: No problem, i had a quick look but i've fixed other things before...
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Locked