-
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?
-
Do you Have to use flexigrid??
If so why?
-
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)...