Please, look in Zeos\src\core\ZSysUtils.pasIn which File? There is no Function named "SQLStrToFloatDef"
Search found 164 matches
- 04.01.2010, 16:45
- Forum: 6.6 - stable
- Topic: Postgres 8.4 and Decimal
- Replies: 30
- Views: 2873
- 04.01.2010, 09:37
- Forum: 6.6 - stable
- Topic: Postgres 8.4 and Decimal
- Replies: 30
- Views: 2873
Your test program works ok on my computer: StrToFloatDef('12.5')= Using locale (thousands=. decimals=,): 125,00 Using thousands=, decimals=.: 12.50 Using thousands=. decimals=.: 125.00 Using thousands=. decimals=,: 125,00 OldSQLStrToFloatDef('12.5')= Using locale (thousands=. decimals=,): 125,00 Usi...
- 04.01.2010, 08:27
- Forum: 6.6 - stable
- Topic: Postgres 8.4 and Decimal
- Replies: 30
- Views: 2873
- 03.01.2010, 17:45
- Forum: 6.6 - stable
- Topic: Postgres 8.4 and Decimal
- Replies: 30
- Views: 2873
- 03.01.2010, 17:38
- Forum: 6.6 - stable
- Topic: Postgres 8.4 and Decimal
- Replies: 30
- Views: 2873
- 31.12.2009, 14:37
- Forum: 6.6 - stable
- Topic: Postgres 8.4 and Decimal
- Replies: 30
- Views: 2873
It seems to be FPC bug. http://forum.lazarus.freepascal.org/index.php?topic=8150.0 I've wrote a test procedure: procedure TForm1.Button2Click(Sender: TObject); var _real: Double; _dc: char; begin _dc := DecimalSeparator; DecimalSeparator:='.'; _real := StrToFloatDef('1.2', 0); DecimalSeparator:= _dc...
- 31.12.2009, 13:24
- Forum: 6.6 - stable
- Topic: Postgres 8.4 and Decimal
- Replies: 30
- Views: 2873
- 31.12.2009, 11:15
- Forum: 6.6 - stable
- Topic: Postgres 8.4 and Decimal
- Replies: 30
- Views: 2873
- 31.12.2009, 10:22
- Forum: PostgreSQL
- Topic: Transaction Isolation Level
- Replies: 5
- Views: 4120
Hello, martinrame. I guess you are mixing SQL and delphi code into one :). What I wanted to say is you should set AutoCommit to false and TransactIsolationLevel to tiNone on your TZConnection component. That way Zeos doesn't manage transactions. You should execute 'START TRANSACTION ISOLATION LEVEL ...
- 30.12.2009, 07:41
- Forum: PostgreSQL
- Topic: Transaction Isolation Level
- Replies: 5
- Views: 4120
Hello, matinrame If you want all DDL commands in single transaction, then you should use them. I would suggest using tiNode and calling BEGIN, SET TRANSACTION ISOLATION LEVEL and COMMIT manualy. This way you'll be able to handle your transactions as you want. The other thing is the lock issue. I thi...
- 29.12.2009, 10:40
- Forum: 6.6 - stable
- Topic: Postgres 8.4 and Decimal
- Replies: 30
- Views: 2873
- 19.12.2009, 09:27
- Forum: 6.6 - stable
- Topic: Begin and commit not working with postgresql
- Replies: 5
- Views: 769
Hello, danielf. As you describe it, the thing you should double check is TransactIsolationLevel. Maybe your program changes it dynamically?.. If TransactIsolationLevel = tiNone the Begin and Commit commands are not used. If thats not the case - than this may be connected to CBuilder. I have almost n...
- 18.12.2009, 14:35
- Forum: 6.6 - stable
- Topic: Begin and commit not working with postgresql
- Replies: 5
- Views: 769
- 17.12.2009, 16:35
- Forum: User Patches
- Topic: Connection string for postgresql
- Replies: 1
- Views: 1555
Connection string for postgresql
The formation of postgresql connection string is not as good as it could be. For example if you leave the database name field empty in TZConnection component on connect you'll get error saying dbname is "user=". While this is not a big problem as connection usually has database, user and p...
- 17.12.2009, 13:08
- Forum: 6.6 - stable
- Topic: Begin and commit not working with postgresql
- Replies: 5
- Views: 769