Search - InfoPath Dev

InfoPath Dev

Search

Page 12 of 27 (270 items) « First ... < Previous 10 11 12 13 14 Next > ... Last »
  • Re: newbie - submit to webservice-db error

    Hey, cool, good luck with your DB stuff, most of the issues I had with the Forms Server were related to permissions, I hope you get your stuff to work.
    Posted to General (Forum) by davidair on 09-13-2007
  • Re: InfoPath form from an existing Data Source

    Yes, there is... which InfoPath are you using, 2003 or 2007? You go Tools | Data Connections | Add, and then add a query connection. Then add a button to your form, add a Rule to the button to Query this connection.
    Posted to Controls (Forum) by davidair on 09-13-2007
  • Re: InfoPath form from an existing Data Source

    Well, your XML will depend on how many controls you want to have and whether or not they repeat or not. If you want to have a repeating table bound to a secondary data source, create an XML which has an element that repeats: &lt;myData&gt; &nbsp; &lt;row&gt; &nbsp;&nbsp;&nbsp; &lt;column1/&gt; &nbsp;&nbsp;&nbsp; &lt;column2/&gt; &nbsp; ...
    Posted to Controls (Forum) by davidair on 09-13-2007
  • Re: InfoPath form from an existing Data Source

    Any XML file will do, such as: &lt;myData&gt; &nbsp; &lt;dataField/&gt; &lt;myData&gt; Just save it anywhere on your disk. Once you add a&nbsp;data source based on it, it will be included as part of the form template so you don&#39;t need to worry about storing it.
    Posted to Controls (Forum) by davidair on 09-13-2007
  • Re: SOS: How to validate the attachment size of picture control

    Use declarative validation... Suppose your attachment field is called field1 and you don&#39;t want it to be bigger than 100k, that means that&nbsp;length of the piture&nbsp;field cannot be more than 136533 charaters (assuming UTF8). 1. Open the Data Source pane 2. Double-click on field1 to bring up its properties 3. In Validation, add a new ...
    Posted to Code (Forum) by davidair on 09-13-2007
  • Re: Infopath C# Custom Control Namespace Prefix Problem

    Well, that&#39;s strange, you should be able to just do this in your init right after you assign domNode: this.domNode.ownerDocument.setProperty(&quot;SelectionNamespaces&quot;, &quot;xmlns:n1=\&quot;urn\&quot;&quot;); Is domNode&#39;s type IXMLDOMNode? If not, cast it to this type.
    Posted to Controls (Forum) by davidair on 09-13-2007
  • Re: InfoPath form from an existing Data Source

    Since all most controls have to be bound to something in some data source, whenever you cannot or do not want to modify your main data source you answer is a secondary one. The best lowest-maintenance data source for these needs are from XML files. Simple create an empty XML file having as many fields as you need, then add it to your solution as ...
    Posted to Controls (Forum) by davidair on 09-13-2007
  • Re: newbie - submit to webservice-db error

    The Forms Server seems to be confused with your xpath... to check if this is the case, try to see if you can re-write it without using the prefixes (start with s1 and keep going up). You can rewrite this without s1 as this: /dfs:myFields/dfs:dataFields/tns:SubmitForm/*[local-name()=&#39;newForm&#39;] I think what is happening is that you have a ...
    Posted to General (Forum) by davidair on 09-12-2007
  • Re: SOS: How to validate the attachment size of picture control

    You can either do it the hard way, as in decoding the header (see more here: http://www.infopathdev.com/forums/p/1474/6839.aspx#6839). Or you can just make the following claim: binary files are encoded with BASE-64 encoding, so you only have 3 bytes get encoded with 4. That means that the original size of the file is the string length of the XML ...
    Posted to Code (Forum) by davidair on 09-12-2007
  • Re: Drop Down Lists Populated via XML File

    1. Create an xml that looks like this: &lt;users&gt; &nbsp; &lt;user name=&quot;John&quot; email=&quot;jdoe@yourdomain&quot;&gt; &nbsp; &lt;user name=&quot;Mike&quot; email=&quot;mdeere@yourdomain&quot;&gt; &nbsp;&nbsp; ... &lt;/users&gt; 2. Add this xml as a secondary data source (say, &quot;Users&quot;) 3. When editing the listbox properties, ...
    Posted to Newbie Questions (Forum) by davidair on 09-12-2007
Page 12 of 27 (270 items) « First ... < Previous 10 11 12 13 14 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.