Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display last ten rows in datagrid

Status
Not open for further replies.

AMHCLH

Programmer
Nov 26, 2002
23
US
I use datagrid to display the items in a contract. When the number of items is large and the grid view becomes full of items, the next item causes the grid to display only the last item. Although the first items are still in the grid and available when the user scrolls back, they would like to always view the last ten items that have been entered. I would like to implement this when the first column of the grid is filled since this is when the view "jumps" to show only the last item. I have tried using the firstrow property but I get the error invalid bookmark. Any ideas?
 
tedsmith,

But with what property? I have tried .firstrow and get an error that the bookmark is invalid. If I set datagrid.row then the cursor is positioned there and I want it to remain on the record that is currently being added.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top