Dear experts,
we have a PBL consisting solely of DataWindows which are combined to generate certain documents.
Sometimes the task pops up to replace a certain string in the text property of a Text control in many DataWindows simultaneously, e. g. a year specification: 2022 -> 2023:
How can I do this economically?
Can I avoid opening each DW and in each DW this certain Text control?
I'm still hoping that there is a possibility like to open such a library in an appropriate text editor and to use "Replace all". But my attempts failed: After replacing the strings in and saving the PBL with Notepad (?) the PBL was damaged somehow. PowerBuilder did not identify the DataWindows anymore.
Thanks in advance for all trials to help me!
Kind regards,
Konrad Kaltenbach
You could also write a small program in powerbuilder that exports all datawindows as files ( look for the LibraryExport function).
After that you'd have to open each file and search and replace and then save the file (using powerbuilder).
In the end save the file and treat all the rest.
When done, import the modified files by using the LibraryImport function.
regards