Search found 3 matches
- 16.09.2020, 18:00
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Invalid type cast in file ZDatasetUtils
- Replies: 5
- Views: 413
Re: Invalid type cast in file ZDatasetUtils
Hello marsupilami, yes, problem occurs at runtime. As you asked, I created a small program with all the code involved but I can't reproduce the error. The test program run as expected, so I think that somewhere in my code there is something bad. Perhaps a lack of a parameter, or a parameter that is ...
- 11.09.2020, 07:25
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Invalid type cast in file ZDatasetUtils
- Replies: 5
- Views: 413
Re: Invalid type cast in file ZDatasetUtils
Hello EgonHugeist, the parameter is defined simply as: sql:='select distinct codice_novo from oc_cup where codice_novo like (:FILTRO) order by codice_novo'; ZROQueryCodiciInterventi.SQL.Text:=SQL; I've tried to compile the program with target Windows and it run fine! Same code compiled with target L...
- 25.08.2020, 17:37
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Invalid type cast in file ZDatasetUtils
- Replies: 5
- Views: 413
Invalid type cast in file ZDatasetUtils
Hi all, After the last update of zeos (svn rev 6794), my project crashes with message "Invalid type cast" in line 1734, file ZDatasetUtils ConSettings := TZAbstractRODataset(THackParam(Param).DataSet).Connection.DbcConnection.GetConSettings; the code that trigger the error is: ZROQueryCodi...