Announcement

Collapse
No announcement yet.

Positioning on the last records on a grid

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Positioning on the last records on a grid

    Hi, when i open a grid, I need to position on the last record and refresh the grid. How can I do that? Thanks for your time.

  • #2
    Originally posted by cdmartinar View Post
    Hi, when i open a grid, I need to position on the last record and refresh the grid. How can I do that? Thanks for your time.
    The most easy way is to order your grid using a descending key. That way the latest record becomes first. Actually I haven't found other ways of setting a certain record.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Albert, that is right.
      in your grid go to sql. after FROM table_name
      ORDER BY field_name desc
      Scriptcase V8.1 Enterprise Edition.

      Comment


      • #4
        thank you. i wil test that.

        Comment

        Working...
        X