AngelRodriguez
3 years agoQrew Assistant Captain
Button to open a specific form without using the API_GenAddRecordForm API
Is there a way to open a specific form from an existing form without using the API_GenAddRecordForm API?
For example, I'm using form #10, but I created a clone form #11 that's more printer friendly and removed some fields. I then added a formula button on form 10 to print form 11. I'm wondering if there's a way to do this without using that addrecordform API since I'm not adding a new record. You'll see in my formula I'm referencing the form to open, but the button is simply opening the existing form:
------------------------------
AR
------------------------------
For example, I'm using form #10, but I created a clone form #11 that's more printer friendly and removed some fields. I then added a formula button on form 10 to print form 11. I'm wondering if there's a way to do this without using that addrecordform API since I'm not adding a new record. You'll see in my formula I'm referencing the form to open, but the button is simply opening the existing form:
"<a class=\"OpenAsPopup\" data-height=900 data-width=900 href='"
& Dbid()
& "?a=API_EditRecord&rid=" & [Record ID#] // PO Record ID
& "&dfid=11" // Printable form ID
& "&z=" & Rurl() // Redirect
& "&apptoken=<"/MY APP TOKEN"/>" &
"&rdr=" & URLEncode(URLRoot() & "db/" & Dbid()
& "?a=dr&rid=" & [Record ID#])
& "'><img src=\"https://images.quickbase.com/si/24/058-printer.png\"></a>"
------------------------------
AR
------------------------------