S
Steve
I am using the following line of code to insert a row into a repeating table
and the repeating tables xCollection name is Service_Table_160.
thisXDocument.View.ExecuteAction("xCollection::insert", "Service_Table_160")
and get this error, anyone no what my problem is?
The following call in the form's code failed: View.ExecuteAction
Unspecified error
at Microsoft.Office.Interop.InfoPath.SemiTrust.View.ExecuteAction(String
bstrAction, Object varXmlToEdit)
at
Microsoft.Office.Interop.InfoPath.SemiTrust.ViewObjectWrapper.ExecuteAction(String bstrAction, Object varXmlToEdit)
at
Microsoft.Office.Interop.InfoPath.SemiTrust.ViewObjectWrapper.ExecuteAction(String bstrAction, Object varXmlToEdit)
at EService.EService.btnMainWorkPlan_OnClick(DocActionEvent e) in
C:\Documents and Settings\admin\My Documents\Visual Studio
Projects\EService\FormCode.vb:line 240
at
Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)
and the repeating tables xCollection name is Service_Table_160.
thisXDocument.View.ExecuteAction("xCollection::insert", "Service_Table_160")
and get this error, anyone no what my problem is?
The following call in the form's code failed: View.ExecuteAction
Unspecified error
at Microsoft.Office.Interop.InfoPath.SemiTrust.View.ExecuteAction(String
bstrAction, Object varXmlToEdit)
at
Microsoft.Office.Interop.InfoPath.SemiTrust.ViewObjectWrapper.ExecuteAction(String bstrAction, Object varXmlToEdit)
at
Microsoft.Office.Interop.InfoPath.SemiTrust.ViewObjectWrapper.ExecuteAction(String bstrAction, Object varXmlToEdit)
at EService.EService.btnMainWorkPlan_OnClick(DocActionEvent e) in
C:\Documents and Settings\admin\My Documents\Visual Studio
Projects\EService\FormCode.vb:line 240
at
Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)