Does ZeosDBO work with ClientDatasets

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

vfclists
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: 30.10.2007, 00:07

Does ZeosDBO work with ClientDatasets

Post by vfclists »

Does ZeosDBO work with ClientDatasets? Does it have an IProvider interface?

I am not quite familiar with ClientDatasets, but can any Dataset component be used with a ClientDataset?
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Zeoslib is compatible, provided you use the most recent Testing snapshots (http://zeosdownloads.firmos.at/downloads/snapshots). We recently had to fix a serious bug.

Mark
Last edited by mdaems on 12.11.2007, 14:46, edited 1 time in total.
diegocm
Fresh Boarder
Fresh Boarder
Posts: 16
Joined: 22.10.2007, 19:48

Post by diegocm »

This link (http://downloads.firmos.at/downloads/snapshots) isn't ok.


The bug that you said are 43 and 59???


Because I have a problem with Master/Detail that I can't solve.




Diego.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Sorry... Forgot to add 'zeos' --> http://zeosdownloads.firmos.at/downloads/snapshots

You've found the right bugs...

Mark
diegocm
Fresh Boarder
Fresh Boarder
Posts: 16
Joined: 22.10.2007, 19:48

Post by diegocm »

Excellent. Very Good.


Now, what have I update in my pc??


Thank,


Diego.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

The only thing you have to do is install the newest version the way you install every zeoslib version.
0. Uninstall and clean eventual old versions of zeoslib (bpl, dcu,...)
1. Unpack
2. Compile the packages for your compiler (packages directory)
3. Install ComponentDesign Package in your IDE. If this doesn't exists for your compiler (eg. Lazarus, D5) install the Components Package.
4. Use the components as you would use the native Delphi components.

Mark
jose fermin
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: 27.03.2007, 14:35

Post by jose fermin »

how are you doing mdaems??

Please can you explain how I can to make step by step the master/detail relationship using clientdatasets and zquerys??

Can I use aggregate fields and calculated fields??

I'm using Postgresql 8.2.4, Delphi 7 and windows xp.

thanks !!
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

I'm very sorry, but I can't do that. The first time I used these components was while debugging the bug reports mentionned above. There are small sample programs in the bug reports, however. (And if I was able to debug it, they can't have been difficult to understand :flex: :zwinker: )
So unless somebody else can give you more information, just start with the Delphi 7 Documentation and repace TQuery by TZQuery. It should just work. (Only difference is you'll also need a TZConnection component to link your queries to)
Read the 'Developing Database Applications' Help. (Chapters 'Using ClientDatasets' and 'Using Provider components', I think)
diegocm
Fresh Boarder
Fresh Boarder
Posts: 16
Joined: 22.10.2007, 19:48

Post by diegocm »

mdaems wrote:The only thing you have to do is install the newest version the way you install every zeoslib version.
0. Uninstall and clean eventual old versions of zeoslib (bpl, dcu,...)
1. Unpack
2. Compile the packages for your compiler (packages directory)
3. Install ComponentDesign Package in your IDE. If this doesn't exists for your compiler (eg. Lazarus, D5) install the Components Package.
4. Use the components as you would use the native Delphi components.

Mark

Where can I get the last version with the bugs fixed??


Now, I have the version 6.6.1 in my pc.



Thanks,

Diego.
jose fermin
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: 27.03.2007, 14:35

Post by jose fermin »

diegocm
Fresh Boarder
Fresh Boarder
Posts: 16
Joined: 22.10.2007, 19:48

Post by diegocm »

jose fermin wrote:you can get it at:

http://zeosdownloads.firmos.at/downloads/snapshots

I already downloaded, but now what have I to install??
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Hi Diego,

Just compile and install the packages in your IDE as described above...
diegocm
Fresh Boarder
Fresh Boarder
Posts: 16
Joined: 22.10.2007, 19:48

Post by diegocm »

Hi mdaems,

I understood, but the link (http://zeosdownloads.firmos.at/downloads/snapshots) contains the following files:

ZEOSLIB_TESTING_REV305.zip 28-Oct-2007 13:42 13M
ZEOSLIB_TESTING_REV305_COMPACT.zip 28-Oct-2007 13:30 2.0M
ZEOSLIB_TESTING_REV309.zip 07-Nov-2007 14:59 13M
ZEOSLIB_TESTING_REV309_COMPACT.zip 07-Nov-2007 14:38 2.0M
ZEOSLIB_TRUNK_REV306.zip 28-Oct-2007 22:34 13M
ZEOSLIB_TRUNK_REV310.zip 07-Nov-2007 14:54 13M


Which of them have I to install??


Thank very much...
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Testing branch= 'experimental' (but the latest patches are there)
Trunk = the version that moves to next release. As stable as possible.
The ClientDataset patches are already in trunk, so use trunk version unless you want to follow development as close as possible. The higher the revision number the more recent.
Compact version : contains only packages and sources. Mainly for upgrading, but contains all necessary stuff for using zeoslib.
Conclusion : ZEOSLIB_TRUNK_REV310

Mark
diegocm
Fresh Boarder
Fresh Boarder
Posts: 16
Joined: 22.10.2007, 19:48

Post by diegocm »

That funny.

I did what you said, but it didn't work.

1. Uninstall ZeosLib and clean old version.
2. Install ZEOSLIB_TRUNK_REV310
3. Make a example of Master/Detail


Master:
ZQuery -> DataSetProvider -> ClientDataSet -> DataSource

Link:
DataSource

Detail:
ZQuery -> ClientDataSet -> DataSource



I'm upset.... :(
Post Reply