Page 1 of 2

Does ZeosDBO work with ClientDatasets

Posted: 04.11.2007, 23:54
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?

Posted: 05.11.2007, 08:51
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

Posted: 10.11.2007, 14:21
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.

Posted: 12.11.2007, 14:45
by mdaems
Sorry... Forgot to add 'zeos' --> http://zeosdownloads.firmos.at/downloads/snapshots

You've found the right bugs...

Mark

Posted: 12.11.2007, 19:58
by diegocm
Excellent. Very Good.


Now, what have I update in my pc??


Thank,


Diego.

Posted: 13.11.2007, 20:58
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

Posted: 18.11.2007, 19:33
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 !!

Posted: 18.11.2007, 20:01
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)

Posted: 19.11.2007, 14:38
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.

Posted: 19.11.2007, 14:48
by jose fermin

Posted: 19.11.2007, 15:11
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??

Posted: 19.11.2007, 15:40
by mdaems
Hi Diego,

Just compile and install the packages in your IDE as described above...

Posted: 19.11.2007, 16:37
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...

Posted: 20.11.2007, 08:12
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

Posted: 20.11.2007, 11:45
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.... :(