Yesterday i installed wincvs, and downloaded the lastest version of Zeoslib
6.5.1
Now, we have a big problem. The property 'Requestlive' does not exist anymore in the new library. So, if we want to use the latest cvs version, we have to change over the hundred forms and a couple of units too.
What's the problem?
Is 6.5.1 not compatible with 6.5.1 last year?
problem with ZQuery
Moderators: gto, cipto_kh, EgonHugeist
Yes, we decided to change this property from RequestLive to ReadOnly. I recommend to use the Tool BKReplaceEm to search and replace any reference in your code (*.pas and *.dfm).
Please consider that RequestLive = True is now ReadOnly = False and RequestLive = False is now ReadOnly = True!
Please refer to zeosdbo_rework\documentation\development\newfeatures\reports to see all new features/changes that were made.
Please consider that RequestLive = True is now ReadOnly = False and RequestLive = False is now ReadOnly = True!
Please refer to zeosdbo_rework\documentation\development\newfeatures\reports to see all new features/changes that were made.
Last edited by Stevie on 08.09.2005, 15:19, edited 1 time in total.
Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. (Albert Einstein)
I looked in the source code, and the published property 'requestlive' does not exist anymore.
I installed the version of 6.5.1 (nov 2004) again, so the project works.
But we have a couple of problems, so we want to use the latest version.
If you delete a property of a component, it is not backwards compatible.
Is there a fast workaround for this problem?
I installed the version of 6.5.1 (nov 2004) again, so the project works.
But we have a couple of problems, so we want to use the latest version.
If you delete a property of a component, it is not backwards compatible.
Is there a fast workaround for this problem?
I have cheked the sources and found that 'requestLive' property is still used in ZAbstractRODataSet.pas but it is not published, it is the protected section, so the only thign to do is to move thsi declaration:
to the published section of the component
Also add the following code to TZQuery and TZTable published sections in Zdataset.pas
This will not affect ReadOnly behaviour because ReadOnly reads the value from RequestLive, so it is safe.
Code: Select all
TZAbstractRODataset = class(TDataSet)
private
...
...
protected
..
property RequestLive: Boolean read FRequestLive write FRequestLive
default False;
...
...
Code: Select all
TZAbstractRODataset = class(TDataSet)
private
...
protected
...
published
property RequestLive: Boolean read FRequestLive write FRequestLive
default False;
...
...
end;
Code: Select all
TZQuery = class (TZAbstractDataSet)
published
...
property RequestLive default true;
..
end;
...
...
TZTable = class (TZAbstractTable)
published
...
property RequestLive default true;
...
end;