Hi all !
Here is the patch for Zeos 6.6.4-stable !
Just unpack and copy-replace this files to zeos/src/components and
(it is good practice to make backup !)
recompile zeos components ...
Now You have FetchRow property and FetchAll method on ZTable and ZQuery components ...
Have fun !
Search found 24 matches
- 29.12.2008, 21:14
- Forum: Firebird
- Topic: TZTable to read fewer records at a time
- Replies: 5
- Views: 1018
- 27.10.2008, 10:15
- Forum: 6.6 - stable
- Topic: Lazarus 0.9.26+Firebird 2.1+Zeos 6.6.3 CharSet problem
- Replies: 3
- Views: 955
Solved problem with charset
Problem is solved !
I convert database : default charset to UTF8, all varchar, char filelds charset, collation to UTF8 and in ZConnection.Properties I put line : charset=UTF8.
I's now wok fine !!!
I convert database : default charset to UTF8, all varchar, char filelds charset, collation to UTF8 and in ZConnection.Properties I put line : charset=UTF8.
I's now wok fine !!!
- 26.10.2008, 20:21
- Forum: 6.6 - stable
- Topic: Lazarus 0.9.26+Firebird 2.1+Zeos 6.6.3 CharSet problem
- Replies: 3
- Views: 955
I'm not sure that is the Lazarus bug, so I made an litle test program with Lazarus SQLDB components and it is correct !!! :shock: In TIBConnection you can specify CharSet=UTF8 property and it's wirk ! Certanly I try to set ZConnection parameter : codepage=EAST_EUROPEEAN or UTF8 ... but with no affec...
- 25.10.2008, 19:09
- Forum: 6.6 - stable
- Topic: Lazarus 0.9.26+Firebird 2.1+Zeos 6.6.3 CharSet problem
- Replies: 3
- Views: 955
Lazarus 0.9.26+Firebird 2.1+Zeos 6.6.3 CharSet problem
Hi all ! I have problem with Lazarus 0.9.26. In DBGrid I can't see some Varchar(30) fields with charset NONE, and contain East Europeean characters. Those field values is totally empty (invisible)-nothing is shown ! Fields that not contain this characters is shown normaly. Specification : Lazarus 0....
- 06.08.2008, 16:28
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: New property FetchRow in ZDataSet
- Replies: 16
- Views: 6057
- 05.08.2008, 22:32
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: New property FetchRow in ZDataSet
- Replies: 16
- Views: 6057
- 05.08.2008, 15:32
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: New property FetchRow in ZDataSet
- Replies: 16
- Views: 6057
Hi all ! I made patch to ZAbstractRODataset.pas and ZDataset.pas on new Zeos 6.6.3-stabel. (it is in attachment) Hou have simply replace this 2 files in src\Component folder, recompile, and install the library. Added new property : FetchRow (description is in my erlier posts) and new method : FetchA...
- 04.08.2008, 21:26
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Saving/restoring a dataset to/from a file
- Replies: 11
- Views: 2349
Hi Zippo ! Very nice ! I just want to notice one mistake in code if I fallow the logic correctly: procedure SaveDatasetToFile(DataSet: TDataSet; FileName: string; Separ: char=';'); var i, r : integer; Row, Fld : string; F : TextFile; begin AssignFile(F, FileName); Rewrite(F); r := DataSet.RecNo; Dat...
- 30.07.2008, 21:32
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Saving/restoring a dataset to/from a file
- Replies: 11
- Views: 2349
- 29.07.2008, 20:00
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Saving/restoring a dataset to/from a file
- Replies: 11
- Views: 2349
Look at this example ...
Hi All ! I made this procedures a several jears ago, and use it succesfuly ... (saved and restored dataset must bee identical !) procedure QSaveToFile(DataSet: TDataSet; FileName: string; Separ: char=';'); var i, r : integer; t, s : string; F : TextFile; begin AssignFile(F, FileName); Rewrite(F); r ...
- 30.05.2008, 13:13
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: New property FetchRow in ZDataSet
- Replies: 16
- Views: 6057
- 27.05.2008, 16:57
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: New method FetchAll for ZDataSet
- Replies: 0
- Views: 779
New method FetchAll for ZDataSet
Hi all,
I'm made new method FetchAll in case if you have to fetch all records in
runtime (when FetchRow is set to > 0) without calling Last, locate etc. keeping the cursor position unchanged.
The modifications is in attachment...
Tray it, test it ...
I'm made new method FetchAll in case if you have to fetch all records in
runtime (when FetchRow is set to > 0) without calling Last, locate etc. keeping the cursor position unchanged.
The modifications is in attachment...
Tray it, test it ...
- 27.05.2008, 00:02
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Firebird 2.1 final release
- Replies: 44
- Views: 11617
Hi, A simple work a round for connecting to Firebird 2.1 First time you have to open tvice the query... Connection.Connect; if Connection.Connected then begin try Query.Open; // firs time is error except Query.Open; // second tim is success end; end; error occures only in design time ... My investig...
- 26.05.2008, 23:47
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: New property FetchRow in ZDataSet
- Replies: 16
- Views: 6057
- 26.05.2008, 22:23
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: New property FetchRow in ZDataSet
- Replies: 16
- Views: 6057
New property FetchRow in ZDataSet
Hi all I'm made some changes in ZAbstractRODataset.pas and ZDataset.pas. The new peoperty FetchRow is added. When value of FethRow is 0 (zero) then component is working exactly like before (this is the default value). When value of FetchRow is for example 50, max 50 rows is fetched or more, depend o...