preceding-sibling??? - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

preceding-sibling???

Last post 01-18-2005 06:08 PM by Greg Collins. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-14-2005 05:09 AM

    • alexjoly
    • Not Ranked
    • Joined on 01-14-2005
    • France
    • Posts 2

    preceding-sibling???

    I have a dropdown list linked to a XML node (called division)
    I want to avoid the double entry in it.

    The data source of the ddlist is in my primary data source, the data are retrieved from a field in the secondary data source.

    In the properties of the DDlist

    1/ I select the source of data in the secondary data source (deptname)
    2/ in the entry field i select my data, i select "filter the data", and i had a filter:
    the expression not(. = preceding-sibling::division)

    ...but of course it'snot working :) :)
    I have also tried with not(. = preceding-sibling::*/@division)

    I guess it's a small stupid mistake,isn't it?

  • 01-18-2005 08:10 AM In reply to

    • alexjoly
    • Not Ranked
    • Joined on 01-14-2005
    • France
    • Posts 2
    ok i found .. it was

    not(. = ../preceding-sibling::tns:form/tns:DeptName)

    ...maybe it can help someone
  • 01-18-2005 06:08 PM In reply to

    Glad you were able to resolve it. Gotta watch those XPaths!

    Greg Collins [InfoPath MVP]
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.