Forum Discussion

OwenMorgan's avatar
OwenMorgan
Qrew Member
6 years ago

URL Button Return URL

I have a button on the [NEW CASE] form that gives users the opportunity to create a new record [NEW KEY TERM] within another table which then populates the option list for [KEY TERM] on the [CASE] record. 

I have a button that works BUT i can't seem to get the RURL right - I want to return to the existing form/current record within the Cases Table

Cases Table = bpw9r2twc
Key Terms Table = bp2kau43a

URLRoot() & "db/bp2kau43a" & "?a=API_GenAddRecordForm&dfid=2&bg=1" & "&z=" & Rurl()

Please help!



------------------------------
Owen Morgan
------------------------------
  • BradLemke's avatar
    BradLemke
    Qrew Assistant Captain
    When returning to the Cases table form, are you returning to a 'New Case' form with no record ID yet?​

    ------------------------------
    Brad Lemke
    ------------------------------
    • OwenMorgan's avatar
      OwenMorgan
      Qrew Member

      No ideally to the record they are starting from, or even more ideal, the box would be a popup

       



      ------Original Message------

      When returning to the Cases table form, are you returning to a 'New Case' form with no record ID yet?​

      ------------------------------
      Brad Lemke
      ------------------------------
      • MarkShnier__You's avatar
        MarkShnier__You
        Icon for Qrew Legend rankQrew Legend
        Owen, we must be missing something about what you are trying to do.

        I just launch an Add Parent button and while in Add mode ( and having set my Table Properties Advanced settings to Automatically save Parent when child is added), I clicked to 

        Add Child with this code

        URLRoot() & "db/" & [_DBID_CHILD] & "?a=API_GenAddRecordForm&_fid_7=" & URLEncode ([Record ID#]) & "&dfid=10"
        & "&z=" & Rurl() 

        I was able to save the child and upon save was returned to the parent in edit mode.

        How is your workflow different than mine?

        ------------------------------
        Mark Shnier (YQC)
        Quick Base Solution Provider
        Your Quick Base Coach
        http://QuickBaseCoach.com
        mark.shnier@gmail.com
        ------------------------------
  • Owen,
    Maybe leave out this

    &bg=1

    I'm not sure what that is there for.

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