-
Krishna Mohan Gullap
- PowerBuilder
- Tuesday, 15 April 2025 06:32 PM UTC
Hi there again to all PowerBuilder Gurus - I know I come up with some weird questions every time. Sorry about that :-)
So, here is the thing! I have a composite Datawindow made of sub-DWs that's being run for a report. The client is requesting for a POC to do a 'SaveAs' to an Excel spreadsheet, which has all the data from the all the sub-DWs. I have a couple of options in mind
- Do a recursive GetChild() for getting the Sub-reports (and their child sub-reports) and save the DWs to separate 'named' excel spreadsheets. This will mostly look shabby and I am not willing to do this unless there isn't another option
- Use OLE and do the same as above except that we can use positioning and loop through the Datawindow children and append them all to a single spreadsheet
I could also do a combination of 1 and 2. It's been years since I used OLE so, any suggestion with references or code to achieve this helps A LOT :-)
Thanks,
Krishna
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.