- Richard Frantz
- PowerBuilder
- Wednesday, 19 April 2023 08:24 PM UTC
Problem with PFC multitable update process... only the first registered configuration actually saves.
NO ERRORS are thrown.
In dw constructor:
ll_rc = this.inv_multitable.of_register(ls_update_table1, ls_keycolumns, ls_updateables, false, 0)
ll_rc = this.inv_multitable.of_register(ls_update_table2, ls_keycolumns, ls_updateables, false, 0)
Table 1 saves
switch it up
ll_rc = this.inv_multitable.of_register(ls_update_table2, ls_keycolumns, ls_updateables, false, 0)
ll_rc = this.inv_multitable.of_register(ls_update_table1, ls_keycolumns, ls_updateables, false, 0)
Table 2 saves.
I've stepped though the debugger and it loops though both configurations and calls the update, good return code, but the change does not go to the database.
Any thoughts?
PB 12.5 Win10 sql server 2019
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.