Re: Speed issue...




I stripped all the code from the procedure that takes most CPU.
Scrolloing the table is then fast, but if I add:

DataForm.MTable.DisableControls;
DataForm.MTable.EnableControls;
You need to be doing something between these two statements that scrolls the
table for this code to help you



These two lines consequently take 2 seconds.
Same for this two lines:

DataForm.MTable.Edit;
DataForm.MTable.Post;

Any editing is slow as hell.
You did not say anything about editing the table in your previous posts so I am
not understanding just what you are testing.
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.