Hi.
I have a datawindow. One of columns is DropDownDW - in display column is symbol, and data column - id. Works perfectly.
problem is that i have to update foreign keys (composite) to another table which looks like:
table_A.method_id = table_B.id AND table_a.method_v = table_b.v
and in dropdownDW i have only id value (used in "data column" property).
Is there a possibility to pass this additional column value?
Like add this second column to DDDW, or use dw.setItem function?
Or is there better approach?
I need help, since I'am a little bit newbie in PB
I have datawindow (dw_data) which contains dddw,
so i declared
datawindowchild ldwc
DDDW contains 4 columns:
symbol(display column),
name,
id (data column),
v (what i need)
this line: dw_data.getchild("id",ldwc) > 0 gives me -1
Did i miss something?
getChild function is to get the child of your column in dw_data. Specify the column that have the DDDW assigned.