Search - InfoPath Dev

InfoPath Dev

Search

Page 180 of 259 (2583 items) « First ... < Previous 178 179 180 181 182 Next > ... Last »
  • Re: Repeating Section

    &nbsp;Remove this line:String field1 = n.text;Make the following two changes:&nbsp;if (node.Length &gt; 0)&nbsp; --&gt; if (node.text.Length &gt; 0) &nbsp;InfoPathAttachmentDecoder(node); --&gt; InfoPathAttachmentDecoder(node.text);
    Posted to Code (Forum) by Jimmy on 02-25-2010
  • Re: Repeating Section

    &nbsp;The first line should have DOMNodeList, not IXMLDOMNode. The foreach line should be something like: foreach(IXMLDOMNode node in n) and then you should replace &quot;field1&quot; with &quot;node&quot; in these lines: &nbsp;if (field1.Length &gt; 0) &nbsp;InfoPathAttachmentEncoding.InfoPathAttachmentDecoder(field1);
    Posted to Code (Forum) by Jimmy on 02-25-2010
  • Re: Repeating Section

    &nbsp;You should use the selectNodes method instead of selectSingleNode, and then iterate through the results (you can use a foreach loop), saving one file each time the loop iterates.&nbsp; You will need to come up with a scheme for differentiating the file names.
    Posted to Code (Forum) by Jimmy on 02-25-2010
  • Re: web service not being accepted

    &nbsp;Did you remember to check &quot;submit as a string&quot; for each of the fields when you were setting up the data connection?
    Posted to SQL Database Integration (Forum) by Jimmy on 02-24-2010
  • Re: Expression boxes are NOT read only. Why?

    &nbsp;Are you sure that they&#39;re expression boxes and not text boxes?&nbsp; I&#39;ve never seen an expression box that wasn&#39;t read-only. &nbsp;You can also make text boxes read-only, incidentally.
    Posted to General (Forum) by Jimmy on 02-24-2010
  • Re: web service not being accepted

    &nbsp;What are the datatypes of the parameters to the web method?&nbsp; string? int? XmlNode? &nbsp;Are you seeing this error when you set up the data connection, or when you try to actually use it?
    Posted to SQL Database Integration (Forum) by Jimmy on 02-23-2010
  • Re: web service not being accepted

    Did you write your webservice in .NET, or on some other platform? What are the datatypes of your webmethod&#39;s parameters and return value?
    Posted to SQL Database Integration (Forum) by Jimmy on 02-22-2010
  • Re: from vb to c# not working

    &nbsp;In C#, indexers are accessed with square brackets, not parentheses: &nbsp;DataSources[&quot;external datasource name&quot;].CreateNavigator().SelectSingleNode(&quot;xpath to field in external datasource&quot;, NamespaceManager).SetValue(Application.User.LoginName);
    Posted to Code (Forum) by Jimmy on 02-22-2010
  • Re: Text summary of data upon Submit

    An unfortunate aspect of expression boxes is that they do not allow their text to be selected or copied.&nbsp; If you want to allow users to select and copy a chunk of uneditable text, I think you&#39;ll need to use a read-only textbox. &nbsp;If you&#39;re looking for a way to select a whole bunch of controls, or text built into the form, and ...
    Posted to General (Forum) by Jimmy on 02-22-2010
  • Re: GetUserProfileByName parameters tied to InfoPath field

    &nbsp;Just use a rule to copy the AccountID value to the field in the WS connection and then query it.
    Posted to General (Forum) by Jimmy on 02-22-2010
Page 180 of 259 (2583 items) « First ... < Previous 178 179 180 181 182 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.