Search found 8 matches
- 26.07.2010, 15:43
- Forum: ZeosLib 7.0 Beta Forum
- Topic: "Not a Number" is read as "0"
- Replies: 6
- Views: 738
Hi, Now I have helped myself. To solve it, you have to modify the following function in the core\ZSysUtils.pas: function SQLStrToFloatDef(Str: string; Def: Extended): Extended; Add the two lines at the beginning: if Str = 'NaN' then Exit(NaN); I found out that even the Delphi core files cannot parse...
- 23.07.2010, 13:47
- Forum: ZeosLib 7.0 Beta Forum
- Topic: "Not a Number" is read as "0"
- Replies: 6
- Views: 738
"Not a Number" is read as "0"
Hello, I have some trouble reading float values from the DataBase. I am using the ZeosLib 7.0 Alpha, PostgreSQL 8.4 and Delphi 2010 on Windows 7. If I store a float value, which is set to NaN in the DataBase, it is correctly written as NaN. But reading it with "Query.FieldByName('x').AsFloat;&q...
- 19.02.2010, 09:19
- Forum: ZeosLib 7.0 Beta Forum
- Topic: ZeosLib in Delphi 2010
- Replies: 3
- Views: 733
- 18.02.2010, 16:55
- Forum: ZeosLib 7.0 Beta Forum
- Topic: ZeosLib in Delphi 2010
- Replies: 3
- Views: 733
ZeosLib in Delphi 2010
Hello everybody, I just read that the new ZeosLib 6.6.6 stable has no Delphi 2010 support. And this gives me a little headache. I planned to use the ZeosLib in a project which is not now but will be implemented in Delphi 2010. So is there any Support for Delphi 2010 in version 6.6.? or will i have t...
- 18.12.2008, 09:35
- Forum: 6.6 - stable
- Topic: "lost connection"-Handling not possible!?
- Replies: 12
- Views: 3066
- 16.12.2008, 14:07
- Forum: 6.6 - stable
- Topic: "lost connection"-Handling not possible!?
- Replies: 12
- Views: 3066
- 16.12.2008, 11:32
- Forum: 6.6 - stable
- Topic: "lost connection"-Handling not possible!?
- Replies: 12
- Views: 3066
- 11.12.2008, 15:38
- Forum: 6.6 - stable
- Topic: "lost connection"-Handling not possible!?
- Replies: 12
- Views: 3066
"lost connection"-Handling not possible!?
Hello, Im using the ZConnection and a view ZQuerys to connect and work with the PostgreSQL 8.3. For security reasons I need to know when the connection got lost. But this is probably not possible. At program start I connect to the DataBase. Everything is fine and works. Now I shut down the DataBase ...