I am looping through my datawindow retrieved rows and I need to make a column for that row (only) that fulfills my condition. So I don't need to make the column Protected for all rows but only for some.
I have used Protect in the past in a datawindow using properties pane but here I had only one row.
Here is my condition: g_tax = 'F'
datawindow = dw_1
column name = amt
row_number = li_i
I have tried something like
if dw_1.object.g_tax[li_i] = 'F' then
dw_1.object.amt[li_i].Protect = 1
end if
this is not valid but then dw_1.object.amt.Protect = 1, protects the column for all rows.
Thanks in advance!!
I have used Protect in the past in a datawindow using properties pane but here I had only one row.
Here is my condition: g_tax = 'F'
datawindow = dw_1
column name = amt
row_number = li_i
I have tried something like
if dw_1.object.g_tax[li_i] = 'F' then
dw_1.object.amt[li_i].Protect = 1
end if
this is not valid but then dw_1.object.amt.Protect = 1, protects the column for all rows.
Thanks in advance!!