I have read through many forums covering similar issues but none have quite equated to the issue I'm having. I am fairly new to working with Infopath xPath and filters and am having difficulty with cascading dropdowns that are fed by a SQL query. Here's the scenario...
I am working with Infopath 2003 and have 4 dropdowns, 3 of which are populated by a single SQL query. DropDownA (DDA) has a many-to-many relationship in SQL with DDB and DDB has a many-to-many relationship with DDC. Although there are interim tables in the database to handle this, all the data is brought to the Infopath form as a single query to avoid too many data connections. Now, I have DDB showing unique values based on the selection in DDA using the filter not(.=../preceding-sibling::*/@DDB-SQLFieldName) and DDA-SQLFieldName=DDA-InfopathFieldName however some of the values are missing in DDB because they are already appearing for an earlier item in the list of DDA.
With my limited understanding of xPath and the fact that this information is a copy from a forum posting here, I believe what I have as the filter is very close to what I need and I am hoping I can get a nudge in the right direction. Thanks.
-Shanty