Discussions

Expand all | Collapse all

SImple Redirect Question

  • 1.  SImple Redirect Question

    Posted 14 days ago
    I am trying to make a formula URL button that redirects to a form (in the same table I start in) in edit mode. Once you edit and hit save, I want it to land in view mode back on the same form.

    I tried the code below, but it immediately cycles through the edit variable, and just lands me on view mode on the form.

    var text EditRecord =
    URLRoot() & "db/bp8gm4p4f?a=er&dfid=24&rid=" & URLEncode ([Record ID#]); //"&z=" & Rurl()

    var text ReDirect =
    URLRoot() & "db/bp8gm4p4f?a=dr&dfid=24&rid=" & URLEncode ([Record ID#]);

    $EditRecord
    & "&rdr=" & URLEncode($ReDirect)

    I tried a few other combos that take me to edit mode, but upon saving return me to the default form. What is my mistake?

    ------------------------------
    Mike Tamoush
    ------------------------------


  • 2.  RE: SImple Redirect Question

    Posted 14 days ago
    try this

    $EditRecord
    & "&NextURL=" & URLEncode($ReDirect)

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------



  • 3.  RE: SImple Redirect Question

    Posted 14 days ago
    Perfect. Thanks!

    ------------------------------
    Mike Tamoush
    ------------------------------