B
BethB
I have a repeating table that has 2 drop downs - the second one is dependant
on the first for the values.
The problem is that if I change the first one, I need the second one to null
out any value - as well as other fields in the table
I have been able to do this with this code at the 'onAfterChange' Event
(This is for the first field only - the actual code just repeats this over
and over with a different field name)
Set objTask =
XDocument.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/d:tblReport/d:tblTime/@TaskName")
objTask.text = ""
The problem is that when I add addtional rows and this code is forced to run
when the first listbox value is changed, It also changes the values in other
rows.
I assume that I need to use the current() function, but I cannot seem to get
the syntax right.
Any help is appreciated......Beth
on the first for the values.
The problem is that if I change the first one, I need the second one to null
out any value - as well as other fields in the table
I have been able to do this with this code at the 'onAfterChange' Event
(This is for the first field only - the actual code just repeats this over
and over with a different field name)
Set objTask =
XDocument.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/d:tblReport/d:tblTime/@TaskName")
objTask.text = ""
The problem is that when I add addtional rows and this code is forced to run
when the first listbox value is changed, It also changes the values in other
rows.
I assume that I need to use the current() function, but I cannot seem to get
the syntax right.
Any help is appreciated......Beth