SetValue Filter question. - InfoPath Dev
in

InfoPath Dev

SetValue Filter question.

Last post 01-11-2012 02:25 PM by shniggens. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-11-2012 01:55 PM

    SetValue Filter question.

    I have a repeating table that has two seperate drop downs for hotel occupant.  When the check in date is changed, I want it to change the date in another table for travel information, where the value to be set is filtered on the person.  Here's what I tried to do -

    concat("SetValue /xpath=/my:myFields/my:Travel/my:TravelGroup/my:Travellers/my:TravelToDate[(../my:Traveller'", Occupant1, "' /value=", .)

    This is set on the date field itself.  However, I get an invalid token error. 

     

  • 01-11-2012 02:07 PM In reply to

    Re: SetValue Filter question.

    So, you need the traveller to be equal to the value of the occupant field?

    concat("SetValue /xpath=/my:myFields/my:Travel/my:TravelGroup/my:Travellers/my:TravelToDate[../my:Traveller='", Occupant1, "'] /value=", .)

    Hilary Stoupa

  • 01-11-2012 02:25 PM In reply to

    Re: SetValue Filter question.

    Yeah, my syntax was off.   Thanks.

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.