Skip to main content
Question

SImple Redirect Question

  • July 25, 2020
  • 0 replies
  • 30 views

Forum|alt.badge.img+14
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
------------------------------

MarkShnierYou
Forum|alt.badge.img+22
  • Quickbase Alumni
  • July 25, 2020
try this

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

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