Skip to main content
Question

URL Add Related Form (But popup like embedded Reports)

  • June 29, 2026
  • 0 replies
  • 101 views

Forum|alt.badge.img+5

I am trying to make a URL Button to add a child record in a form Example:

URLRoot() & "db/" & DBID & "?a=API_GenAddRecordForm&_fid_13=" & ToText([Record ID#])& "&dfid=10&popup=1"

I also tried:

URLRoot() & "db/" & DBID & "?a=API_GenAddRecordForm&_fid_13=" & [Record ID#] & "&target=popup&popupwidth=500&popupheight=400"

 

I also tried these checking In Same Page, In New Window, And In Pop Up.but the button does not pop up like the embedded report. is it possible to make a button that works this way on PC and Mobile as it does in the Report button Link?

 

RoyWanyoike
Forum|alt.badge.img+13
  • Registered
  • June 30, 2026

You can do this using a formula rich text field. Something like this

"<a class='Vibrant Success OpenAsPopup' data-height=500 data-width=500 data-refresh=true href='" & 
URLRoot() & "db/" & DBID & "?a=API_GenAddRecordForm&_fid_13=" & ToText([Record ID#]) & "&dfid=10" & 
"'>Add Record</a>"