Hi all,
I have an issue in scrolling window (With Adds enabled). For example, I have the records in my TEMP table (Id is Primary Key) as below:
Id name age
1 ABC 23
2 CBA 25
Initially when i fill the scrolling window,it will display as it is in the table (FYI, I am displaying Id also in the scrolling window and its not editable).
Now i want to insert a new line in between Id 1 and 2.
To do that, In the LINE_INSERT event, I am first updating the Id=2 to 3 in the temp table. Now I am inserting the new record with Id=2 and fields name,age empty and saving to the temp table(FYI, I am not using Fill window statement in LINE_INSERT event as mentioned in Dex help file that it gets called automatically with redraw option).
After LINE_INSERT code execution completes..the data in table is correct as shown below:
Id name age
1 ABC 23
2
3 CBA 25
But in scrolling window it is displayed as below (Focus is on Line 2 to indicate user to enter name and age.The error here is Line 3 is showing 'Id' as 2 instead of 3)
Id name age
1 ABC 23
2
2 CBA 25
If i clear and fill the window the data will display correctly but the focus will be taken away from line 2 which is not desired.
Dont know if Dex Scrolling window supports this scenario. I am on Dexterity version 11.0.337.
Thanks,
Kiran