Able XPath to do this ? - InfoPath Dev
in

InfoPath Dev

Able XPath to do this ?

Last post 01-02-2007 09:34 AM by Greg Collins. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-28-2006 02:26 AM

    Able XPath to do this ?

    For example:
    I have secondary datasource "Numbers" name Numbers, wich contains two columns: Title and DocID.
    I want to my field named "Field1" had default value equals some data from "Numbers", belongs on wich DocID I will pass. For example (I write it in SQL):

    SELECT Title
    INTO FooVariable
    FROM Numbers
    WHERE DocID = :myValue

    Then: Field1.DefaultValue = FooVariable.
    Can I do this with XPath ??? If so, how?
    Best regards,
    Alexander Ekzarov
    Kyiv, Ukraine
    silverlightnet.blogspot.com
  • 12-28-2006 01:42 PM In reply to

    Re: Able XPath to do this ?

    Hi Ekzarov,
    Have you looked at using filters to do this? Certainly you can use Xpath as part of your condition in your filter. Filters are a much discussed forum topic and Greg has written several HowTos on it as well. Please search the forum for related posts (top right) and the site for the HowTos (top left)
    Patrick Halstead
    Project Manager at Qdabra
  • 01-02-2007 09:34 AM In reply to

    Re: Able XPath to do this ?

    I'm not sure I understand your issue. Sounds like you are using a default value formula--if not try that.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.