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
- Konrad Kaltenbach
- PowerBuilder
- Monday, 2 October 2023 12:33 PM UTC
- Page :
- 1
There are no replies made for this question yet.
However, you are not allowed to reply to this question.
However, you are not allowed to reply to this question.
thanks a lot for your answer!
I would have to do it the second way. But it is not possible to export all DWs at once, is it? Exporting each single DW will cost me more time than using "Edit source" for each one in PowerBuilder...
Regards,
Konrad
You can also create a local git repository, add your workspace to that SC, do the changes, refresh and delete the SC directories
Regards - Francisco
You ca also use the Library Painter to select and export more than one object. But it will you ask for each object. It should be still faster then export single objects.
The way with a (temporary) source control should be the best way.