T
Tim Philomeno
ok...I have read a bunch of stuff about this but I am so new at using xpath
queries that I am not able to figure out the syntax...and maybe I an not even
close but...
I am trying to populate a ddown list using the value saved in another in a
repeating section....Customers/Contacts....I have read and implemented this
scenario where it is not in a repeating section getting a ref to the
Dataobject for the contacts and setting the query text (parameter) to the
current clientno...and then Query() to refresh...see below.....
begin code
***************************************
Dim theDataObject
theDataObject =
thisXDocument.DataObjects.Item("GetContactsForClientNoCONTACTS")
theDataObject.DOM.setProperty("SelectionNamespaces", _
"xmlns:dfs=""http://schemas.microsoft.com/office/infopath/2003/dataFormSolution""" & _
"
xmlns:ns8=""http://tempuri.org/SparCRMService/SparCRMService""")
Dim queryValue
queryValue =
thisXDocument.DOM.selectSingleNode("/my:NewProj/my:Contacts/my:Contact/my:ConName")
queryValue.text = e.NewValue
theDataObject.Query()
***************************************
end of code
So now I want to use Current() in the selectSingleNode call (i assume) but I
can't get the syntax right....
Any help?
Tim Philomeno, Sparling, Inc.
queries that I am not able to figure out the syntax...and maybe I an not even
close but...
I am trying to populate a ddown list using the value saved in another in a
repeating section....Customers/Contacts....I have read and implemented this
scenario where it is not in a repeating section getting a ref to the
Dataobject for the contacts and setting the query text (parameter) to the
current clientno...and then Query() to refresh...see below.....
begin code
***************************************
Dim theDataObject
theDataObject =
thisXDocument.DataObjects.Item("GetContactsForClientNoCONTACTS")
theDataObject.DOM.setProperty("SelectionNamespaces", _
"xmlns:dfs=""http://schemas.microsoft.com/office/infopath/2003/dataFormSolution""" & _
"
xmlns:ns8=""http://tempuri.org/SparCRMService/SparCRMService""")
Dim queryValue
queryValue =
thisXDocument.DOM.selectSingleNode("/my:NewProj/my:Contacts/my:Contact/my:ConName")
queryValue.text = e.NewValue
theDataObject.Query()
***************************************
end of code
So now I want to use Current() in the selectSingleNode call (i assume) but I
can't get the syntax right....
Any help?
Tim Philomeno, Sparling, Inc.