Skip to main content
Question

If Then update button

  • August 10, 2020
  • 0 replies
  • 5 views

Forum|alt.badge.img+5
Hi

I am writing an app that has estimates.  I have a button that will create a clone of the working estimate but I need it to update  a field [is_active] to 0  (boolean)  so I don't have more that 1 active estimate.

here is the code I have now:
"javascript:void(copyMasterDetailButtonHandler('&relfids=27&copyFid=56&destrid=0&sourcerid=" & [Record ID#] & "', 'bqnffbzdf'))"

------------------------------
Dan McLaughlin
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+22
  • Quickbase Alumni
  • August 10, 2020
The Copy Master Detail wizard button that you are using as well as the API equivalent will copy all fields.   But you can set up an Automation to detect when a record is added and the name begins with copy of, then set that field to unchecked.  So it would immediately get unchecked.

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