My current formula works fine for parent record deletion but i am unable to get logic for related child record deletion.
"javascript: if (confirm('Are you sure you want to delete record#: "&[RecordID]&" ?')) { window.open('"&URLRoot()&"/db/"&Dbid()&"?a=API_DeleteRecord&="&[RecordID]&"&rdr="&URLEncode(URLEncode("https://XXXXXXXX/db/XXXX?a=dbpage&pagename=close.html"))&"&apptoken=ct4hv8h...; void('') } else { void('') };"
Is it possible to delete child record 1st and then parent with single click button from view/edit mode of the parent records.
Thanks in advance.