-
hi,
code seems to be good, could you attach the template so that we can have a look at it.
-
The form is set to use C# (Under Tools, Options, Design Tab)
This is the code I have
Imports Microsoft.Office.InfoPath
Imports System
Imports System.Windows.Forms
Imports System.Xml
Imports System.Xml.XPathImports mshtml
Namespace AOL2 Public Class FormCode Private Sub InternalStartup(ByVal sender As Object, ByVal e As EventArgs) ...
-
The code you've posted looks fine the way it is. Is there possibly some other code you're not showing us?
Could you also make sure that your form is set to use C# code and not Visual Basic?
-
Hello everyone!
I want to create an InfoPath template for filling some orders.
I`ve made a template, that sumbits MS SQL Server database, where I have few tables: orders, order_paragraphs and paragraphs.
In Paragraphs I store lists of items of this order (every order have one or more items). All of the items stores only text. There ...
-
If it were me, I would install SharePoint Explorer from codeplex and dig into my content type to make sure my Guid is correct. Is this a content type you created via the UI or is it a CAML based content type? If it's not CAML based then I suppose you are getting the guid value correctly. Still though, I can't think of anything ...
-
Hello Qazi,
firstly thank you for the fast reply!
I have a form, with 2 boxes. In these boxes users must type a value.
So with these 2 values, Infopath should go search in a table (inside or outside Infopath?) And find the corresponding value.
Small example:
Matrix:
A ...
-
Hi there,
I am new to InfoPath and trying to write a code. I tried something simple:
XPathNavigator root = MainDataSource.CreateNavigator();
root.SelectSingleNode("/dfs:myFields/dfs:dataFields/d:AOLObservation/d:AOL_Development/@Comments", NamespaceManager).SetValue("Meera Patel");But I am getting error message saying: ...
-
hi cyberdhine,
would you like to elaborate what you want to say, i cant get what you want
-
hi ryn004,
save the template as source file and you will find the source code, (xml, xsf, xsd, xsl) files
-
hi nebuk,
you can always use conditional formatting to decide which parts to show and which parts to hide, that would be the easiest way out for you