- Steven Watkin
- PowerBuilder
- Friday, 7 July 2023 07:33 PM UTC
Hello,
I have a question about the Datawindow Saveas function in Powerbuilder 2021. Your documentation states: "If you do not specify any arguments for SaveAs, PowerBuilder displays the Save As dialog box. A drop-down list lets the user specify the format of the saved data."
Immediately after entering the required data in the Saveas dialog box, Powerbuilder saves the datawindow according to the format entered. I know of no way to interrupt the process, abort the Saveas function depending on what was entered, and call a different function.
My question: Is there a way to alter this datawindow Saveas dialog box as follows:
- Remove items from the dropdown that we don't need
- Add an entry to the dropdown to save the datawindow in a new format - by calling third party software DW2XLS made by Desta Ltd.
- Detect when the user has selected the DW2XLS format, abort the Saveas call when this option is selected, and call the DW2XLS function instead.
We must do our due-diligence by asking this question before embarking on a task to develop our own Dialog box - customized exactly how we want.
Thank you,
Steven Watkins
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.