Hi,
I have a repeating table which contains two drop downs, the first is
populated directly from a secondry data source (webservice) and the second is
also populated from the secondry data source but filtered according to the
result of the first drop down.
This works fine for the first row but in every row thereafter the second
drop down is filtered by the result of the first drop down in the first row.
The filter for the second drop down was built using InfoPaths built in
wizard and this does seems to produce an Xpath query that does not allow for
the context within the repeating table.
Any suggestions would be much appreciated, Thanks,
Simon
Alex [MSFT] - 20 May 2005 06:22 GMT
You need to use XPath's current() function; more info is on the InfoPath
Blog:
http://blogs.msdn.com/infopath/archive/2004/09/13/228881.aspx
Good luck,
Alex @ Microsoft
-----Original Message-----
From: Simon Reed [mailto:reedsimon@online.nospam]
Posted At: Thursday, May 19, 2005 9:21 PM
Posted To: microsoft.public.infopath
Conversation: Dependant Dropdowns in Repeating Table
Subject: Dependant Dropdowns in Repeating Table
Hi,
I have a repeating table which contains two drop downs, the first is
populated directly from a secondry data source (webservice) and the
second is
also populated from the secondry data source but filtered according to
the
result of the first drop down.
This works fine for the first row but in every row thereafter the second
drop down is filtered by the result of the first drop down in the first
row.
The filter for the second drop down was built using InfoPaths built in
wizard and this does seems to produce an Xpath query that does not allow
for
the context within the repeating table.
Any suggestions would be much appreciated, Thanks,
Simon