Greetings, everybody

Environment:  PB6.5, Oracle 7.34.  

I have a problem with pfc treeview service.  Objects that I use: pfc_u_tvs
(descendants) and pfc_ncst_tvsrv_levelsource (descendants).  Treeview is
populated via 'RETRIEVE' method.  

Every time parent level is clicked, datawindow on the right of treeview 
(dw_1)
displays contents of the parent level as list (similar to Windows Explorer). 
 To
accomplish this I sharedata between the datastore on retrieve and dw_1.  
Every
time parent item is populated, the datastore that feeds treeview
(inv_attrib.ids_obj) gets added as many rows as child level has.  If I click 
on
different items for the same level, inv_attrib.ids_obj[level + 1] will 
append
the rows for item 1 level 1, item 2 level 1 and so on.  So far dw_1 displays
correct number of rows, because on retrieve the amount of rows retrieved in 
the
datastore ads_source is limited to the amount of rows retrieved.  But when I
delete an item from a treeview, I would like to refresh data in the 
datawindow
and to do this I sharedata between inv_attrib.ids_obj[level + 1] and dw_1.  
The
problem is that inv_attrib.ids_obj[level + 1] has accumulated rows from all
parent items I clicked before and it displays all of them minus the one that 
I
deleted.

Does anyone know how I can get around this problem?  Resetting
inv_attrib.ids_obj does not help, things get worse if I do it.  I do not 
want to
save and refresh the data, because users can change their mind if they 
deleted
item in error.  I can provide more details if needed.

Thanks in advance, I would appreciate any input.

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