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

FocusRowRRN

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

  • FocusRowRRN

    Does not seem to be working in the edit grid?
    appvar pd048pRRN
    focusRowRRN pd048pRRN

    {pd048pRRN:{"00370035"}, success:true}

    You do not have permission to view this gallery.
    This gallery has 1 photos.

  • #2
    We are unable to replicate setting the focusRowRRN and isn't focusing a row within an edit grid.

    We will need more information like how are you setting the focusRowRRN? Is it from a button call RPG etc

    Thanks

    Comment


    • #3
      Yes it is a button call in the RPG.

      exec sql Select rrn(pd048p) into :wrkRRN
      from pd048p where vpVendor = :vendor;

      setappvar('pd048pRRN' :%char(wrkRRN);

      the sql works and places the correct rrn value into wrkRRN.

      Comment


      • #4
        I tried the focusrow and it reposition the edit grid.

        Only issue the rrn is from the database and not the grid.

        The edit grid is position at the last row and not where the new edit grid row is added.

        Comment

        Working...
        X