Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid only show last record in viewable area
Message
 
 
To
14/07/2001 00:05:27
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00530600
Message ID:
00530672
Views:
15
>Hi,
> I have a cursor that will bind to grid. After I INSERT a record into my cursor, grid always show the last record only in viewable area. How could I direct grid to show not only last record in viewable area but the highlight row remain on the last inserted record?
>
>Thank you

Save the previos record in a variable, go to this record after your insert, then go to the last record. Do all operations with thisform.lockscreen=.t. (don't forget to reset it back to .f. after you finish). I believe, it would do it, but I haven't tested this idea.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform