Hi Agni,
Ok I figured out how to apply filters, but I just cant seem to get the one you mentioned to work. I have my version listbox only display versions associated to the comp_name (thanks btw!), but I still cant get it to filter the comp_name listbox to omit duplicate records.
Here is what I have tried:
I place the following expression into the filter:
not(preceding-sibling::dsf:Name/@Component= @Component)
To my understanding we are saying, if the name of this data element is equal to the previous data element do not include it. Is that a correct assumption? When I place this code into the filter it tells me "Reference to undeclared namespace prefix: 'dsf'"... so by the look of it I think you just had a typo for the name space.
I changed the code to the following:
not(preceding-sibling::dfs:Name/@Component= @Component)
Now i get the following message:
"preceding-sibling::dfs:Name/@Component" does not point to a valid location path of a field or group.
I currently have the listbox mapped to the Components secondary datasource, no to the Component/Name Datafield. I have also tried mapping it directly to the Name datafield but I get the same error.
Thanks,
Ryan