Problem with Grid's indicator during changing IndexFieldName
Posted: Fri 02 Dec 2011 07:26
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:
In DBGrid everything is OK, indicataor is in first row. Now I set local index again:
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
Code: Select all
MSQuery1.IndexFieldNames := 'Number';
MSQuery1.Active := True;
Code: Select all
MSQuery1.IndexFieldNames := 'Number';
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