J
Janko
Hi guys,
its me again![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Sorry to post quite alot questions here, but unfortunatly the information
source at this moment for Infopath 2007 is a bit low....
Anyway
I do have another nice little problem:
I have a repeating table which is filled throuch a Web Service DB connection
with data.
Now I wanna save back to the database the changes i made for each row.
I wrote VB.NET code which calls my created webservice.
Here is the code:
Public Sub CRTL11_8_Clicked(ByVal sender as Object, ByVal e as
ClickedEventArgs)
Dim wsCon as WebServiceConnection = _
DirectCast(Me.DataConnections("Versenden"), WebServiceConnection)
wsCon.Execute()
End Sub
This code works fine so far but only for the first row.
I do know that I can call each row by using the e Variable.
I tried as well the the expanded version of Execute
like:
wsCon.Execute(xpnInput, xpnOutput, xpnError)
where
Dim xpnInput as XPathNavigator = e.Source.SelectSingleNode(fields,
NamespaceManager)
Dim xpnOutput, xpnError as XPathNavigator = inputDoc.CreateNavigator()
But it does not work.
How can I call the values form each row to pass the values to the parameters
which are necessary to proceed the update command within the SQL Server 2005.
I use InfoPath 2007 with direct connection (Web Service) to the SQL Server
2005
Any help is more then appreciated
Regards
Janko
its me again
Sorry to post quite alot questions here, but unfortunatly the information
source at this moment for Infopath 2007 is a bit low....
Anyway
I do have another nice little problem:
I have a repeating table which is filled throuch a Web Service DB connection
with data.
Now I wanna save back to the database the changes i made for each row.
I wrote VB.NET code which calls my created webservice.
Here is the code:
Public Sub CRTL11_8_Clicked(ByVal sender as Object, ByVal e as
ClickedEventArgs)
Dim wsCon as WebServiceConnection = _
DirectCast(Me.DataConnections("Versenden"), WebServiceConnection)
wsCon.Execute()
End Sub
This code works fine so far but only for the first row.
I do know that I can call each row by using the e Variable.
I tried as well the the expanded version of Execute
like:
wsCon.Execute(xpnInput, xpnOutput, xpnError)
where
Dim xpnInput as XPathNavigator = e.Source.SelectSingleNode(fields,
NamespaceManager)
Dim xpnOutput, xpnError as XPathNavigator = inputDoc.CreateNavigator()
But it does not work.
How can I call the values form each row to pass the values to the parameters
which are necessary to proceed the update command within the SQL Server 2005.
I use InfoPath 2007 with direct connection (Web Service) to the SQL Server
2005
Any help is more then appreciated
Regards
Janko