Cascading dropdown help - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Cascading dropdown help

Last post 09-12-2007 12:41 AM by B.Shiva Prasad. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-11-2007 09:04 AM

    Cascading dropdown help

    I have one secondary data connection (a sharepoint list) that is feeding two separate dropdown lists (customer & generator) The selection in the first dropdown (customer) is supposed to filter the options in the second dropdown (generator) I reviewed the cascading blog by Greg but I can't seem to get it to work. Here is what I tried.

     not(. = ../preceding-sibling::dfs:ProfileData[@COMPNO = current()/my:Form_info/my:Company/my:COMPNO]/@GENNO)

     If anyone has any ideas on what I am doing wrong, I would greatly appreciate it. Thanks!

     Figured it out, I had the right filter but I also needed the first filter. Item is closed.

    Shaun Nieves
    Sharepoint Manager
  • 09-12-2007 12:41 AM In reply to

    Re: Cascading dropdown help

    Hi shaun,

    Try to put the dfs prefix before the 2 attributes of secondary data source.

    not(. = ../preceding-sibling::dfs:ProfileData[@COMPNO = current()/my:Form_info/my:Company/my:COMPNO]/@GENNO)

     try this one.

    not(.= ../preceding-sibling::dfs:ProfileData[@dfs:COMPNO = current()/my:Form_info/my:Company/my:COMPNO]/@dfs:GENNO)

    Hope this will help you if the prefix is not there in the secondary data source then remove the dfs before the ProfileData and try this one

    not(.= ../preceding-sibling::ProfileData[@COMPNO = current()/my:Form_info/my:Company/my:COMPNO]/@GENNO)

     

    B.Shiva Prasad
    InfoPath Dev,
    http://www.ggktech.com
    India
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.