Forum Discussion
BlakeHarrison
5 years agoQrew Captain
Peter -
I agree with Harrison and have had this exact use case within a client's app. In these instances, I build individual buttons for each use case, slightly modifying the RDR for each one. If you're going to redirect to a report, it would just be a matter of changing the report ID for each button.
var text chk = "&_FID_34=";
var text tk = "token";
var number qid = #;
"<a class='Vibrant Alert' & href=" & URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&apptoken=" & $tk & "&rid=" & [Record ID#] & $chk & "1" & "&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=q&qid=" & $qid) & ">Check and Refresh</a>"
ā
------------------------------
Blake Harrison
bharrison@datablender.io
DataBlender - Quick Base Solution Provider
Atlanta GA
404.800.1702 / http://datablender.io/
------------------------------
I agree with Harrison and have had this exact use case within a client's app. In these instances, I build individual buttons for each use case, slightly modifying the RDR for each one. If you're going to redirect to a report, it would just be a matter of changing the report ID for each button.
var text chk = "&_FID_34=";
var text tk = "token";
var number qid = #;
"<a class='Vibrant Alert' & href=" & URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&apptoken=" & $tk & "&rid=" & [Record ID#] & $chk & "1" & "&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=q&qid=" & $qid) & ">Check and Refresh</a>"
ā
------------------------------
Blake Harrison
bharrison@datablender.io
DataBlender - Quick Base Solution Provider
Atlanta GA
404.800.1702 / http://datablender.io/
------------------------------
PeterRebholz
5 years agoQrew Member
Turns out that it's happening in Firefox too, which is odd.
I may well have to go the multiple buttons route then. Thanks for the sample code, Blake. Just varying the report number as a variable should help reduce the messiness of multiple buttons.
Thanks!
------------------------------
Peter Rebholz
------------------------------