Forum Discussion

JasonBeaver's avatar
JasonBeaver
Qrew Cadet
3 years ago

Save a child record from the parent record

I have a child record that includes a URL button to make a checkbox true.  The button fine; however I am clicking on the button from a related report and when I save it, it displays the child record, and I want it to display the parent record.  

Here is the syntax that I have...

URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" &
"&rid=" & [Record ID#] &
//"&apptoken=bw9qkxbcsg3avvqpucu5drussvk" &
"&_fid_24=1" &
"&_fid_8=" & Today() &
"&rdr=" &
URLRoot() & "db/" & [_DBID_RECORDS] & "?a=dr&rid=" & [Related Build]

[Related Build" is the parent record.

thank you for any help.

------------------------------
Jason Beaver
------------------------------
  • URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" &
    "&rid=" & [Record ID#] &
    //"&apptoken=bw9qkxbcsg3avvqpucu5drussvk" &
    "&_fid_24=1" &
    "&_fid_8=" & Today() &


    & "&rdr="&URLEncode(URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl());

    Can you check if above works?



    ------------------------------
    Prashant Maheshwari
    ------------------------------