Results 1 to 3 of 3

Thread: flexigrid

  1. #1
    cool_rockz
    Guest

    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?

  2. #2
    PowerPoster Beacon's Avatar
    Join Date
    Jan 2001
    Location
    Pub Floor
    Posts
    3,188
    Do you Have to use flexigrid??
    If so why?

  3. #3
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    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
  •  



Click Here to Expand Forum to Full Width