GeorgeBramhall2
4 years agoQrew Cadet
Error in a URL Button
Any ideas why I am getting the followon error for this URL button:
I have the following code for a URL Button:
If((not([showcalledby]) or [Unclaim Lead]),
URLRoot() & "db/" & [_DBID_LEAD_NOTES] & "?a=API_EditRecord&rid=" & [Record ID#] &
"&rid=" & [Record ID#] &
"&_fid_39=" & URLEncode ([Current User]) &"&rdr="&URLEncode(URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl()))
but I am getting the following error:
------------------------------
George Bramhall
------------------------------
I have the following code for a URL Button:
If((not([showcalledby]) or [Unclaim Lead]),
URLRoot() & "db/" & [_DBID_LEAD_NOTES] & "?a=API_EditRecord&rid=" & [Record ID#] &
"&rid=" & [Record ID#] &
"&_fid_39=" & URLEncode ([Current User]) &"&rdr="&URLEncode(URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl()))
but I am getting the following error:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<qdbapi>
<action>API_EditRecord</action>
<errcode>30</errcode>
<errtext>No such record</errtext>
<errdetail>Missing "rid" parameter.</errdetail>
</qdbapi>
------------------------------
George Bramhall
------------------------------