TZQuery Filtering oldvalue
Posted: 08.03.2013, 11:22
Example
TZquery returns:
ID Value1 Value2
1;1;10
2;1;1
3;2;2
4;2;1
when filtered is not true
for id = 2 the
query.FieldByName('Value2').OldValue gives 1.
If i make query.Filter := 'Value1 = 1';
for id = 2
query.FieldByName('Value2').OldValue gives 10.
How can i fix this.
Thx in advance.
NelsonRoda
TZquery returns:
ID Value1 Value2
1;1;10
2;1;1
3;2;2
4;2;1
when filtered is not true
for id = 2 the
query.FieldByName('Value2').OldValue gives 1.
If i make query.Filter := 'Value1 = 1';
for id = 2
query.FieldByName('Value2').OldValue gives 10.
How can i fix this.
Thx in advance.
NelsonRoda