- Bernie Rivera
- PowerBuilder
- Monday, 12 August 2019 11:35 PM UTC
I am attempting to Save a datawindow. It works fine if I run it through the PowerBuilder IDE, but when I compile and create an executable i will not save a file. It returns that it is successful but it does not save the file. Code snippet below:
li_ret = lds_report.SaveAs("C:\Temp\COM\rpt_4a2359a7-7c96-45d9-9416-6cabb3f82301.csv", CSV!, false)
What could be the problem? I have been struggling all day with this. Looking at help, internet, dependencies, examples, and anything else I could think of and it does not make sense why it only works when running from the IDE. Any help would be greatly appreciated, thanks.
Bernie
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.