Search - InfoPath Dev

InfoPath Dev

Search

Page 256 of 259 (2583 items) « First ... < Previous 254 255 256 257 258 Next > ... Last »
  • Re: Querying secondary data connection

    Ok, sure thing.&nbsp; the first thing I did was create a group in my main data source that mimicked the dataFields group in the secondary data source: Notice that I chose to use different names for my groups, but for simplicity&#39;s sake, I used the same column names and in the same order.&nbsp; Note however that I used elements for the column ...
    Posted to SQL Database Integration (Forum) by Jimmy on 10-27-2008
  • Re: Validate text field

    Your var Enteredby = XDocument.DOM.selectSingleNode(&quot;/my:myFields/my:EnteredBy&quot;).text; line looks ok, but you will get that &quot;object required&quot; error if you reference a node that does not exist (e.g. it is in an optional section that is not included at the time) or if the XPath is misspelled, and that includes case.&nbsp; ...
    Posted to Code (Forum) by Jimmy on 10-27-2008
  • Re: Spellnumber in InfoPath

    I see. In that case the procedure would be about the same, except that the code in step 8 would be more like this: public void number_OnAfterChange(DataDOMEvent e) { &nbsp;&nbsp;&nbsp;&nbsp; if (e.IsUndoRedo) &nbsp;&nbsp;&nbsp;&nbsp; { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // An undo or redo operation has occurred and the DOM ...
    Posted to General (Forum) by Jimmy on 10-27-2008
  • Re: Spellnumber in InfoPath

    Sure, I can give you a quick example of how to do this. Note that this example will only work with InfoPath 2007, so I hope you have that version :-) &nbsp;1. Make sure that you have Visual Studio Tools for Applications installed.&nbsp; This is available as part of the Office 2007 installation but you might not have it installed yet. 2. Create a ...
    Posted to General (Forum) by Jimmy on 10-27-2008
  • Re: Form grinds to a halt after database look-up

    I can&#39;t be sure, but it sounds like the form is running slowly because it is weeding through the entire 5000 row table in your secondary DOM when the rule is run.&nbsp; You may want to consider&nbsp;instead running an&nbsp;SQL query to get the employee you&nbsp;want, and not store the whole table in your secondary DOM. For examples of how to ...
    Posted to Data Connections (Forum) by Jimmy on 10-27-2008
  • Re: Querying secondary data connection

    Saving a form from InfoPath only saves the data that is in the main data source.&nbsp; Since your query results are in a secondary data source, they naturally would not be saved with the form, so if you want to save the data, you will need a way of copying it over to your main data source. &nbsp;I can think of two ways to accomplish this.&nbsp; ...
    Posted to SQL Database Integration (Forum) by Jimmy on 10-27-2008
  • Re: Spellnumber in InfoPath

    I am not aware of such a function in InfoPath, but I&#39;ve thrown together this C# that can convert any number from -10^16 - 1 to 10^16 - 1 into words.&nbsp; Just pass the number into SpellNum and it will return the number in words as a string: http://www.infopathdev.com/blogs/jimmy/misc/SpellNum.txt
    Posted to General (Forum) by Jimmy on 10-27-2008
  • Re: Counting Number of Occurrences of Attachment Controls Where File Attached

    Supposing you had a file attachment control bound to /my:myFields/my:group1/my:group2/my:fileField, where my:group2 is a repeating group, you can find the total number of file attachments in the group with count(/my:myFields/my:group1/my:group2/my:fileField) Note that this is only for explication and you don&#39;t have to type this all&nbsp;by ...
    Posted to Newbie Questions (Forum) by Jimmy on 10-26-2008
  • Re: Working with InfoPath with VSTA and code in the load event for a browser enalbed form

    Does your solution access Active Directory by any chance? 0x80072020 seems to be an Active Directory authentication error.&nbsp; I&#39;m not too well versed in solving authentication problems, but the following might help get you pointed in the right ...
    Posted to Newbie Questions (Forum) by Jimmy on 10-26-2008
  • Re: Setting Date value to Datetime picker at runtime In Infopath Form

    You can also use the XmlConvert.ToString() method to convert a DateTime to an XML date, though it doesn&#39;t make much of a difference in this case.&nbsp;You still have to provide a format string since InfoPath won&#39;t accept dates with the time in them: newNode.SetValue(XmlConvert.ToString(DateTime.Now, &quot;yyyy-MM-dd&quot;)); In either ...
    Posted to Newbie Questions (Forum) by Jimmy on 10-25-2008
Page 256 of 259 (2583 items) « First ... < Previous 254 255 256 257 258 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.