Forum Discussion

NirajShah4's avatar
NirajShah4
Qrew Cadet
5 years ago

Formula - URL Button Question

I want to place a URL Button on my form that redirects the user to a different form and then automatically pulls up the Print Screen; is this possible?

------------------------------
Niraj Shah
------------------------------
  • Absolutely! In your formula, you'll want to include the following code: ?a=printr&dfid=##

    When it's included in the basic formula, it would look like this:

    URLRoot() & "db/" & Dbid() & "?a=printr&dfid=##&rid=" & [Record ID#]

    Just replace the ## with the appropriate form ID and you should be good to go!​

    ------------------------------
    Blake Harrison
    bharrison@datablender.io
    DataBlender - Quick Base Solution Provider
    Atlanta GA
    404.800.1702 / http://datablender.io/
    ------------------------------
  • try this

    URLRoot() & "db/" & dbid() & "?&a=printr&dfid=10&rid=" & [Record ID#]

    change the 10 to the form ID you want to use.

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
    • NirajShah4's avatar
      NirajShah4
      Qrew Cadet
      Thanks, Mark.

      I attempted your solution but it just takes me back to my app homepage.

      ------------------------------
      Niraj Shah
      ------------------------------
      • MarkShnier__You's avatar
        MarkShnier__You
        Icon for Qrew Legend rankQrew Legend
        can you post your code?

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