on 04-14-2016 5:32 PM
Hi guys,
I'm using PB12.5.2 Build 5550 on a Windows 7 SP1 32-bit machine.
I have a NVO that receives a dataStore as argument. At the end of the processing I try to do a SaveAs on the DS. If I supply arguments to the SaveAs command, is saves correctly. If I leave it blank, as for the user to inform the file type and location, the saveAs window simply doesn't appear.
I got a workaround using the GetFileSaveName to get a XLS filename and then use it on the saveAs method.
I guess I'm just writing to have documented, in case someone else has the same issue and doesn't find an answer on google!
Hi Daniel;
Technically, the DS was designed to never interact with the application user as your PB Application could be running as a Service, System Tray, Batch, etc application that has no visible interface (and never should). In fact the DS could be running within a Web Service (also possible to build from PB Classic).
My suggestion would be to have a DW Control pointer passed into the NVUO where there was a ShareData ( ) active between the DS & the DC. Then, issue the SaveAs ( ) against the DC vs the DS.
HTH
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.