wpg_docload.download_file opens in a new window in PL/SQL Oracle code
I am trying to download the attachment from web browser using wpg_docload.download_file command from the PL/SQL procedure. I like to open the document in the same browser window instead of opening new window (Excel spreadsheet opens in Excel) or when the new window opens, the old window should close.
Does anybody know how to do this