• 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.

Row Click Set and Right Click

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

  • Row Click Set and Right Click

    Not sure if this is a bug.

    I have a couple menu options that call an RPG program to update/delete records.

    I like the idea of using Row Click Set in the Link Widget Properties in my grid widget and having app variables set anytime I click. This saves me time in setting up app variables for every single menu option, especially if they all use the same app variables in the RPG that's called.

    I noticed that if I enable right click menu options, the app variables are set on right click, most of the time.

    There are occasions when app variables are not set on right click. I use the NAB Developer console to confirm that app variables are not always set on right click.

    In my case, when I right click on a row then left click a menu option, an RPG is called to update/delete records using the correct app vars.

    The RPG call returns success = true and I refresh the grid. Then I right click another record, and the app vars stay as the previous values. I click on the menu option, the RPG is called but its updating/deleting a record incorrectly as its using app variables that were not changed.

    I can work around this by setting app variables on each menu click, but it'd be great if Row Click Set worked every time, left or right click.

    Thanks

  • #2
    We were able to replicate the sporadic behavior...this will be fixed in the next update.

    Comment


    • #3
      Great. Thanks

      Comment

      Working...
      X