Forum Discussion
Unfortunately the record is a template project and could be copied several times over. I am wondering if I can open the code page in a pop-up and on completion close and then refresh the original page or redirect it to the edit record form. Just not sure how or if that would work.
------------------------------
Nathan Maubert
------------------------------
You could do a pop up using the following syntax:
"<a class='Vibrant Success OpenAsPopup' data-height=350 data-width=500 data-refresh=true href=\""& url here &"\" >Copy</a>"
That will open up your code page and when the user clicks to close it, either with button or just closing the window QB will refresh the current page.
You could still go with a confirmation process in the code page that says 'confirm copy' or cancel so that the copy is not immediate if they land back there mistakenly.
------------------------------
Chayce Duncan
------------------------------