Forum Discussion
_anomDiebolt_
9 years agoQrew Elite
Use BOL with code similar to this:
Pastie Database
https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=571
This code display all three buttons. If you want to display only one button based on some criteria you have to detect that criteria in the script. In the same sense that you do not want to place these buttons on every row in the report, stating that
"The buttons are not all the same but depend on a value on the report."
does not direct me to which record or field contains the magic value that determines which buttons to display or where they lead to.
Notes
(1) Since you are using BOL you have to detect the dbid and action (and perhaps the qid and/or dfid)
(2) This code uses ES6 backticks to conveniently enter the markup over multiple lines and interpolate variables within
Pastie Database
https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=571
This code display all three buttons. If you want to display only one button based on some criteria you have to detect that criteria in the script. In the same sense that you do not want to place these buttons on every row in the report, stating that
"The buttons are not all the same but depend on a value on the report."
does not direct me to which record or field contains the magic value that determines which buttons to display or where they lead to.
Notes
(1) Since you are using BOL you have to detect the dbid and action (and perhaps the qid and/or dfid)
(2) This code uses ES6 backticks to conveniently enter the markup over multiple lines and interpolate variables within
GauravSharma3
9 years agoQrew Commander
Great. It will helpful :)