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
// Update the DataWindow, Make sure the Flags are Not Reset.
li_rc = idw_Requestor.Update ( ab_accepttext, FALSE )
IF li_rc <> 1 THEN Return li_rc
NEXT
// Restore the update characteristics to their original settings.
li_rc = of_RestoreUpdateSettings ( lnv_originalupdate )
If li_rc < 0 Then Return li_rc
// All updates have succesfully occurred, Reset the flags if appropriate.
IF ab_resetflags = TRUE THEN idw_Requestor.ResetUpdate ( )