Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread CancelRange problem, need a urgent fix
Thu, Oct 9 2008 4:12 AMPermanent Link

"Mauro Botta"
Hi

i'm using edb 2.01 b5

there is a important bug :

new form
new table

this code :

edbTable1.Open;

edbTable1.Filter := 'FIELD2 > 10000';
dbTable1.Filtered := True;

edbTable1.SetRangeStart;
edbTable1.FieldByName('FIELD1').AsInteger := 3;
edbTable1.SetRangeEnd;;
edbTable1.FieldByName('FIELD2').AsInteger := 6;
edbTable1.ApplyRange;
....
....
edbTable1.CancelRange;
....

HERE CANCEL RANGE DON'T WORK !!

i see always the only the record of the ranged db.
if i make a close/open or filtered False / filtered True
all data are correct,

Note :
Field1 must to be different from Field2
if i use ONFILTERRECORD for the filter , all work well


i need a "fast" fix , please ^^"









Thu, Oct 9 2008 4:17 AMPermanent Link

"Mauro Botta"
ops.........

fix my example :

edbTable1.SetRangeStart;
edbTable1.FieldByName('FIELD1').AsInteger := 3;
edbTable1.SetRangeEnd;;
edbTable1.FieldByName('FIELD1').AsInteger := 6;
edbTable1.ApplyRange;
Thu, Oct 9 2008 7:42 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mauro,

<< HERE CANCEL RANGE DON'T WORK !! >>

No need to shout.  I'll check it out and see what I can find.

<< i see always the only the record of the ranged db.if i make a close/open
or filtered False / filtered True all data are correct, >>

You'll have to use the Filtered:=False,Filtered:=True workaround until a fix
is available.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image