I have a combination of reports that use layers of popups to achieve data creation, update and deletions. This is the starting report code:
select 'dbr.report', 'sp_DBR_popup_report1', 'popup', 'infield1=[field1]';
select field1, field2 from table1;
Within the popup window, a second popup is created that performs an action such as deleting the source record:
select 'dbr.report', 'sp_DBR_popup_report2_del', 'popup_second', 'infield1=[infield1]';
delete from .....
This code works great but the popup doesn't close. I have to close it manually and then refresh the previous popup. How can I automatically close popup_second and refresh the original popup window to reflect the change without using 'dbr.refresh' ?