Page 1 of 1

Clientdataset + ZConnection

Posted: 02.08.2022, 21:30
by amonteiro
Hi,
I have a ZConnection and a clientdataset that return to me a DATE field in the Firebird 4.0. But when i give a Active true in the component, return to me:
[02/08/2022 16:54:13]
[UDMSERVER]FALHA ao conectar no BANCO DE DADOS: 192.168.0.14/4010:D:\BD\FRENTE_4.FDB
Error reading cdsGetProcedimentoDATA.DisplayFormat.Format: Invalid property path
----------------------------------------------------------------------------------------
[02/08/2022 16:54:13]
[UDM-CREATE][PADRONIZAÇÃO LOGS]ERRO(#03): Error reading cdsGetProcedimentoDATA.DisplayFormat.Format: Invalid property path
In the field cdsGetProcedimentoDATA.DisplayFormat in the component i set dd/mm/yyyy but i am having the same error. Is there other properties that i have to set? Thanks.

Re: Clientdataset + ZConnection

Posted: 05.08.2022, 12:30
by marsupilami
amonteiro wrote: 02.08.2022, 21:30 [02/08/2022 16:54:13]
[UDMSERVER]FALHA ao conectar no BANCO DE DADOS: 192.168.0.14/4010:D:\BD\FRENTE_4.FDB
This sounds like it is not able to connect to "192.168.0.14/4010:D:\BD\FRENTE_4.FDB"?
amonteiro wrote: 02.08.2022, 21:30 Error reading cdsGetProcedimentoDATA.DisplayFormat.Format: Invalid property path
I am not sure what this is about. But maybe you will have to disable ZFields in the zeos.inc.

Maybe it makes sense to upload an example application (Delphi project + Database SQL) so we can have a look at this?

Re: Clientdataset + ZConnection

Posted: 25.08.2022, 18:42
by amonteiro
Hi, i resolve removing this property in the options of my TDataSetProvider: poIncFieldProps