• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Get RRN from row(s) selected

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

  • Get RRN from row(s) selected

    Sorry... couldn't find the answer on the forums or online documentation. I'm displaying a grid with multi-row select capability. Allowing users to select multiple rows for update/delete etc.
    Everything works fine until my ERP database table contains duplicate rows (don't get me started - they should not be there).
    So I'm thinking why not just update/delete by RRN instead. I'm thinking this is the way you all probably handle it in simple Edit grids.

    1. Is that safe?
    2. How do i get the RRN of the selected row(s)?

    Do i create a field in the data source containing the RRN(filename)?
    Or is there a way to obtain this via getSelection() or vvIn_num()?

    thx

  • #2
    Sorry... I wasn't able to delete my question. But I found the answer when I looked back at the data source. You create field "RRN1" even when the data source is a free-form SQL statement.

    Comment


    • #3
      Thanks for the update

      Comment

      Working...
      X