class "TZDoubleField" not found

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
User avatar
cappelletto
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: 17.06.2020, 10:55
Location: Italy

class "TZDoubleField" not found

Post by cappelletto »

It gives me this error when I launch the application with lazarus 2.3. It used to work fine, then it started giving me this error.
How do I solve it?

I am doing some testing, in new projects it works.

UPDATE
The problem occurs on a project ported from zeos 7.2.x. The strange thing is that it worked first but then it started giving this error. What could it be? At design time it works correctly, the problem appears when the zeos components are created at runtime


p.s. I also posted this problem on the lazarus forum
User avatar
cappelletto
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: 17.06.2020, 10:55
Location: Italy

Re: class "TZDoubleField" not found

Post by cappelletto »

By regenerating the persistent fields, the problem disappeared. This is strange, I'll see if I can figure out the cause
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1918
Joined: 17.01.2011, 14:17

Re: class "TZDoubleField" not found

Post by marsupilami »

Hello cappelletto,

with persistent fields these things can happen. Zeos 8 introduced new field capabilitis and it changed the reules about which field type gets generated at which time.

Best regards,

Jan
User avatar
cappelletto
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: 17.06.2020, 10:55
Location: Italy

Re: class "TZDoubleField" not found

Post by cappelletto »

They were down recreated in the new format. Everything was okay, then I don't know what happened. It may be that I did something, now I will try again and if I find any error I will let you know.
User avatar
cappelletto
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: 17.06.2020, 10:55
Location: Italy

Re: class "TZDoubleField" not found

Post by cappelletto »

It works, I don't know what happened before, but now it goes. I probably must have inadvertently done something wrong myself.
Post Reply