DataWindow/DataStore enhancements

PowerBuilder 2025 R2 enhances the DataWindow/DataStore functions:

  • New GetDWObject function

    The GetDWObject method is introduced to access objects within a DataWindow or DataStore at runtime.

    It retrieves the DWObject of the following objects by name and returns a copy of DWObject for further operations.

    • Data columns

    • Computed fields

    • Controls

  • Enhanced function error message

    When the column parameter of functions such as GetItemString and SetItem specifies an incorrect column name, the column name will be clearly indicated in the error message to help developers pinpoint the problem accurately.