|
-
Jul 25th, 2001, 10:26 PM
#1
flexigrid
I would like to either display my most recent record on top of the table(flexigrid in my case) or move down to the last record after the update. (with the user manully scrolling down)
I tried recordset.movelast but it dosent seem to work....
With Data1.Recordset
.AddNew
.Fields("speed") = txt_speed.Text
.Fields("range") = txt_range.Text
.Update
End With
'This line will refresh the recordset and reload the grid
Data1.Refresh
this is all good, however, I am unable to view my last updated record with out scroling down.Instead of scrolling down the flexigrid can the last uudate be displayed on the top of the flexgrid?
-
Jul 25th, 2001, 10:54 PM
#2
PowerPoster
Do you Have to use flexigrid??
If so why?
-
Jul 26th, 2001, 12:00 AM
#3
I wonder how many charact
This is a small answer, but you can scroll down programmitcally with the flexgrid, so you can put the last record at the bottom, where a user might logically find want to find it.
msflexgrid1.Row = msflexgrid1.Rows - 1
msflexgrid1.TopRow = msflexgrid1.Row
The key here is .TopRow property...
Tell me if this is what u needed...
it simply makes the current row the last row, and changes
focus to that row (.toprow)...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|