open child record in new window

  • 0
  • 1
  • Question
  • Updated 1 month ago
  • Answered
This is a two-part question.

1. On a form with an embedded report of child records: Is there a way to make the child record always open in a new window?

2. If so, is there a way to specify the size and shape of this new window so that it appears as though it is visible on the form (like an embedded report, but an embedded form instead).
Photo of Sarah Clark

Sarah Clark

  • 602 Points 500 badge 2x thumb

Posted 1 month ago

  • 0
  • 1
To make the child record open on a new tab, you can hide the View option on the embedded (hide the eyeball) and instead give the user a button to click.

URLRoot() & "db/" & [_DBID_UNIQUE_ORDER_S]
& "?a=dr&rid="& [Record ID#]

(you will need to set your own table name)

I do not know how to cause that to pop up in anything other than a regular tab.

But you can put this on the pop up extra tab form to let to user close the tab.

I have not tested this code on all browsers.  It should work in Chrome, you will need to test other Browsers that the users will be using.



var text URL = "JavaScript:window.open('','_parent','');window.close();";

var text Image = "<img src=https://images.quickbase.com/si/48/832-close.png>";

"<a href=" & $URL & ">" & $Image & "</a>"






Photo of Sarah Clark

Sarah Clark

  • 602 Points 500 badge 2x thumb
Thank you. I made a button with the formula but it didn't make it open in a new tab. It opened the same way it would if you clicked the eyeball.
I am using Chrome.
Sorry, I left out the most important part :)

Check the box on the URL formula field properties

Open Target in New Window
Photo of Sarah Clark

Sarah Clark

  • 602 Points 500 badge 2x thumb
Ooooooooh. :) It works now. Thank you!