Skip to main content
Question

Link to Original Record After Copy

  • December 1, 2022
  • 0 replies
  • 114 views

Forum|alt.badge.img+9
I am wondering if it is possible to add a link to a copied record back to the original record?  Here is what is happening...I currently have a copy record button that is working as expected.  See code for button below.  The issue is when I copy the original record I do not get any attachment field files.  Those types of fields are blank in the copied record which is not all bad because I don't want all the extra files if I can link back to the original where those files can be found if need be.

Copy Record Button:
"javascript:void(copyMasterDetailButtonHandler('&copyFid=19&destrid=0&sourcerid=" & [Budget item ID#] & "', 'bssz8m82p'))"

------------------------------
Brian Dunk
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+24
The copy master detail functionality does not allow you to control the population of any extra fields.

But no problem. Create a process maintained by a Form Rule or a Pipeline that says when the record is saved and the field called [Original Record ID#] is blank, then copy the Record ID# into that field.

And when you run the copy master detail that scalar field will get copied across.

------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------