Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid.ActiveRow behavior
Message
 
To
15/12/1996 14:14:06
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00015158
Message ID:
00016144
Views:
40
>For a specific reason, one of our form is using the Grid.ActiveRow property to compare its value with our form property which represents the last active row of the grid.
>
>So, basically, we have this in the Grid.AfterRowColChange():
>
>IF ThisForm.Grid.PreviousRow<>ThisForm.Grid.ActiveRow
>   ...
>ENDIF
>
>
>The problem is that this is slow when having 450000 records.
>
>It seems that the grid ActiveRow is having a weird behavior which slows down the system.


I solved this with a form property filled with code in the grid.BeforeRowColChange() method, avoiding PreviousRow() altogether.

Barbara Paltiel
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform