BTW, a syntax shortcut for this that is occasionally useful is:
of_setUpdateObjects({dw_1, dw_2, dw_3})
Note that the linkage service also has the capability of doing the inserts
and deletes in the proper "referential order". Simply setting the order of
the DW's may cause either an insert or delete to fail, depending on the
referential constraints.
--dang
-----Original Message-----
From: Alain L Bouvette [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 26, 2000 08:32
To: [EMAIL PROTECTED]
Subject: Re: PFCSIG How do you change the default PFC datawindow update
order?
Try the of_SetUpdateObjects() method on your window's pfc_postopen ( or
other event)
Something like:
PowerObject lpo_dw[ ]
Int li_rtn
lpo_dw [1] = dw_1
lpo_dw[2] = dw_3
lpo_dw[3] = dw_2
li_rtn = this.of_SetUpdateObjects(lpo_dw)
Alain Bouvette
>>> "Theisen, Timothy J." <[EMAIL PROTECTED]> 07/25/00 04:40pm >>>
We have a window with 3 datawindows on it. When we start the PFC save
process,
it generates and executes the update for the last datawindow first (the last
dw that
we added to the window)> When this happens, we get an integrity error
because
the first datawindow is not inserting its row first ... is there a way to
specify the order
in which the PFC save process updates each datawindow ... i.e. update dw 1,
then dw_3,
the dw_2 ... thx in advance.
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS,
ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS,
ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]