Page 1 of 1

Problem with Grid's indicator during changing IndexFieldName

Posted: Fri 02 Dec 2011 07:26
by k&k
I have a simple table with one column called Number, with numbers from 1 to 100. I set primary key on this column. In application I set local index and open query:

Code: Select all

  MSQuery1.IndexFieldNames := 'Number';
  MSQuery1.Active := True;
In DBGrid everything is OK, indicataor is in first row. Now I set local index again:

Code: Select all

  MSQuery1.IndexFieldNames := 'Number';
DBGrid's indicator jump down as many rows as are visible in DBGrid. I run an application again, and before the second setting local index, I move DBGrid's cursor one row down and one row up, and now set local index. In this case everything is OK, indicator doesn't jump.
Version Info: SDAC 6.1.3, RAD Studio XE Version 15.0.3953.35171, SQL Server 2008 R2 10.50.1600.1.

Can you check this problem.
Regards
k&k

Posted: Mon 05 Dec 2011 09:24
by AndreyZ
Hello,

Thank you for the information. We have fixed this problem. This fix will be included in the next SDAC build.