- Robert Sawyer
- PowerBuilder
- Tuesday, 28 January 2025 05:35 PM UTC
I have some dw's w/ data (of course). Rather than edit the contents of the dw on the current window in which it resides, I need to present a popup window where a user can edit data and then save it - then , I would refresh the master dw w/ those edits. I'm wondering the best way to do this for all maintence windows. For example, let's assume the user wants to edit city/state. The popup would present a small dw only containing 2 fields. But, if, for example, I needed to edit a rather large dw, it presents additional challenges.
1- When validating the save, how will I know which fields need to be input to stop save if incomplete since all dw's are different? I really don't want to use the required checkbox.
2- How can I adjust the size of the window and the dw control to fit things accordingly based on the sizes of the dw's which I won';t know until I call the popup?
3- How can I determine which dw to put on the control at runtime?
I was thinking table driven for all of these setting but seems like a lot of overhead that I want to avoid. PB 22
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.