Skip to main content
Question

Error in Formula URL ... Need help

  • July 6, 2021
  • 0 replies
  • 30 views

Forum|alt.badge.img+6
I am getting the following error when I click my Formula URl button,Please, what am I doing wrong:

<qdbapi>
<action>API_EditRecord</action>
<errcode>30</errcode>
<errtext>No such record</errtext>
<errdetail>Missing "rid" parameter.</errdetail>
</qdbapi>

Formula:
var text urlone = If([Notify Acquisitions Team]<>"Yes",URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" &
"&rid=" & [Record ID#] &
"&_fid_15=Yes");
var text urltwo = "&rdr=" &
URLEncode(URLRoot()&[_DBID_LEADS]&"?a=Showpage&pageID=18")
;

$urlone & $urltwo


------------------------------
George Bramhall
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+22
  • Quickbase Alumni
  • July 6, 2021
I believe that you were trying to click a URL button on a record that has not yet been saved. If the record has not yet been saved, then the Record ID will be equal to null.

So I suggest just showing this button in view mode on the record.

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