Announcement

Collapse
No announcement yet.

Grid - refresh/reopen with previos selected rows.

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

  • Grid - refresh/reopen with previos selected rows.

    Hello Colleagues,

    I have a grid with run button on every record (checkbox [ ]). I would like to select few record on the list (checkbox) - and reopen the same grid with previous selected. How to do it?

    Thank you for your suggestions.

    daretzki

  • #2
    Well if you run then you will have an event which triggers for each record. In that event (onloadrecord I think) you need to keep track of the keys. While doing this you need to buildup a global variable with the sql criteria to select them from your database. After processing each record you need to do a sc_redir to the application which shows you the selected records. In general it will be something like

    select ... where [glob_criteria]

    glob_criteria needs to contain something like mykey in (key1, key2, key3)

    key1.. key n needs to be replaced by your real key values of course.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Thanks Albert. I will provide solution when done soon

      Comment

      Working...
      X