Use our Google Custom Search for best site search results.
Search
-
Hi.
You want the InfoPathDev Forms Database Accelerator http://www.infopathdev.com/downloads/free/default.aspx?i=4c6d41c47f594c9baada1b40918a306f
Cheers. Scott.
-
Hi.
The .NET System.Environment class provides a number of user informational calls that can be made. for example; System.Environment.UserName.ToString()
Cheers. Scott.
-
Hi.
Not really an answer to your namespace error. But does this XPath work?
thisXDocument.GetDOM(''searchHRG'').selectSingleNode(''//*[local-name()=Amt]'').text = ''150'';
Cheers. Scott.
-
Hi.
If i understand you correctly, the repeating table has an OnAfterChange event. Right click the properties of the RepeatingTable within the DataSource window and click on the Validation and Event handlers tab.
The DataDOMEvent e, parameter provided to the OnAfterEvent handler will provide you with e.OldValue and e.NewValue.
Cheers. Scott.
-
Hi.
Please excuse me if i have not fully understood your problem. You can create Secondary Data Sources. Within the InfoPath IDE select the Tools menu, Data Connections. Follow the wizard to create your SQL connection. Since you need this data as soon as the form is opened, make sure you have the Automatically retrieve data when form is ...
-
Hi.
I have not used the designer for the refresh capabilities you are talking about here.
But, if understand you correctly, the C# code for ''refreshing'' a secondary datasource is;
thisXDocument.DataObjects[''Secondary DataSource Name''].Query();
Cheers. Scott.
-
Hi Patrick. I hope you are well?
The ActiveX control is still a project within my VS solution.
I created the ICT file to add it to the InfoPath toolbox.
Within InfoPath i used the toolbox to add the control to the form.
Also FYI, the form is set to Full Trust using Digital certificates.
Cheers. Scott.
-
Hi All.
I have developed a custom ActiveX control (C#) for an InfoPath form.
The control consumes a webservice.
An exception is being thrown when the call to consume the webservice method is made;
Request for the permission of type System.Net.WebPermission failed.
The same code works perfectly from managed code within InfoPath itself.
Can ...
-
Hi.
Is this what you are looking for - Cascading Dropdown list boxes in Infopath - http://blogstogo.com/dotnet2/archive/2004/12/13/544.aspx
Cheers. Scott.
-
Hi Greg.
I seem to have hit a problem actually.
The code thisXDocument.View.ExecuteAction(''xCollection::insert'', ''group4_6''); did the trick on the form.
With all this working, I moved the layout of the form about, which includes sections.
And from now on the ExecuteAction method is failing with the error;
The specified bstrAction value for ...