Discussions

Expand all | Collapse all

Button in table to edit field in new window and than close window again

  • 1.  Button in table to edit field in new window and than close window again

    Posted 01-30-2018 22:07
    I have a table that shows active change request.

    I like to add a buttom in the table that allows the reviewer to add a comment in a memo field without opening the record itself.
     currently I have this code in an URL fomula field

     URLRoot() & "db/" & Dbid() & "?a=er&key="&[Record ID#]&"&dfid=10"

    and at section Display
    checked --> "Open target in new Window"

    This does open a new window (tab) in the browser; it does open form 10 in edit mode. So far so good.

    But when I press "save&Close" on the mini-from #10 the record shows on the browser tab.
    My intention is to return to the table after "save&close"

    Thanks


  • 2.  RE: Button in table to edit field in new window and than close window again

    Posted 01-30-2018 22:15
    Are you intending to launch the user off a report and you want to return to that report?  If so, try this

    URLRoot() & "db/" & Dbid() & "?a=er&key="&[Record ID#]&"&dfid=10"
    & "&z=" & Rurl()


  • 3.  RE: Button in table to edit field in new window and than close window again

    Posted 01-30-2018 22:24
    Thanks again!

    (needed to untag "Open target in new Window" )