Search found 12 matches
- 25.08.2011, 19:20
- Forum: Firebird
- Topic: Embedded FB2.5 errors
- Replies: 1
- Views: 1372
Embedded FB2.5 errors
Anyone managed to get Zeos to work with embedded firebird 2.5? From the IDE I'll get "SQL Error: unavailable database. Error code -904. Unsuccessful execution caused by unavailable resource" and from runtime I get Access violation at 00000000 localhost is empty, tried database with relativ...
- 30.03.2011, 18:05
- Forum: 6.6 - stable
- Topic: TZConnection not a TCustomConnection :?:
- Replies: 1
- Views: 385
TZConnection not a TCustomConnection :?:
Why isn't TZConnection (or TZAbstractConnection) inherited from TCustomConnection?
its the same for datasets as well.
TIA
its the same for datasets as well.
TIA
- 11.02.2011, 03:49
- Forum: 6.6 - stable
- Topic: Zeos truncates data
- Replies: 12
- Views: 1690
- 10.02.2011, 14:19
- Forum: 6.6 - stable
- Topic: Zeos truncates data
- Replies: 12
- Views: 1690
I created a test application from scratch and tried the same db (with field sizes defined) - and it reads the data correctly. The changing field sizes problem must be something to do with my original application and not Zeos. I'll post something in the SQLite section to discuss the 255 being the def...
- 10.02.2011, 10:04
- Forum: 6.6 - stable
- Topic: Zeos truncates data
- Replies: 12
- Views: 1690
- 10.02.2011, 00:34
- Forum: 6.6 - stable
- Topic: Zeos truncates data
- Replies: 12
- Views: 1690
Thanks for the tip, I thought I would get it sorted when I looked at TZSQLiteResultSet.Open at first, but the problem looks to be a lot deeper in the code :S I've found that 1- zeos defaults to 255 chars for fields with undefined field size (in sqlite) 2- replacing that with sqlite default field siz...
- 06.02.2011, 16:13
- Forum: 6.6 - stable
- Topic: Zeos truncates data
- Replies: 12
- Views: 1690
- 05.02.2011, 10:18
- Forum: 6.6 - stable
- Topic: Zeos truncates data
- Replies: 12
- Views: 1690
Zeos truncates data
Using other software I can see that there is more than 255 characters in the database, but using ZTable or ZQuery only gives the first 255 characters.
How do I get to see all my data?
How do I get to see all my data?
- 13.01.2011, 22:20
- Forum: SQLite
- Topic: calculated fields always string datatype
- Replies: 3
- Views: 2599
- 07.01.2011, 23:01
- Forum: SQLite
- Topic: calculated fields always string datatype
- Replies: 3
- Views: 2599
calculated fields always string datatype
Hi, I think ZeosLib might be returning fields with incorrect datatypes. count(1) and cast(count(1) as integer) gives a text result? more to the point, cast(((myfloatfield*myotherfloatfield)/100) as real) gives a text result! For example SELECT Orders.ID AS OrderID, Mixes.ID AS MixID, Mixes.Percentag...
- 26.10.2010, 22:27
- Forum: 6.6 - stable
- Topic: FieldDefs
- Replies: 2
- Views: 535
- 26.10.2010, 22:11
- Forum: 6.6 - stable
- Topic: FieldDefs
- Replies: 2
- Views: 535
FieldDefs
TTable has FieldDefs TZTable seems to have FieldDefs but they aren't avilable at design-time, and they don't appear to work at run-time either. unless I'm doing somethjing wrong:- ztable1.FieldDefs.AddFieldDef.Attributes:=[fahiddencol]; ztable1.active:=true; the dbgrid stills shows the first column....