In order to use the LUW, you need to register your dataStores (from n_ds) as
follows:

In the pfc_preOpen or pfc_postOpen event:
//Declare an array to hold all of the updateable objects
powerObject lpo_update[]
...
//after all of you datastores are instantiated
//register all of the objects in the order that you would
//like them to be updated
lpo_update = {dw_1, dw_2, lds_main, lds_other, ...}

//register them with the window, userObject or tab page
this.of_setUpdateObjects(lpo_update)

//All done.

HTH,
Gordon A. Dickens, Jr.
SCPPD, SCPPI
Technical Director
Touchstone Systems
3022 Butler Pike
Conshohocken, PA  19428-2115
www.touchstone-systems.com


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Khalid Al-Sonbul
Sent: Sunday, August 22, 1999 8:24 AM
To: PFC SIG
Subject: PFCSIG NVO & SUO


Is there a way to include the data stores of a non visual user object in
the LUW of a w_sheet ancestor window. I want the save process of all
data windows of the window as well as the NVO's data stores to be one
transaction; either all succeed & committed or failed & rolled back.

I tried to declare the data stores as public n_ds's and include them in
the ipo_updateobjects array in the pfc_postopen event. However, I think
it is not elegant from the o-o encapsulation point of view.

Can any one help.
TIA

> [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]

Reply via email to