Search - InfoPath Dev

InfoPath Dev

Search

Page 234 of 259 (2583 items) « First ... < Previous 232 233 234 235 236 Next > ... Last »
  • Re: Accessing controls in C#

    I don&#39;t think using Console.WriteLine() and Console.ReadLine() is going to do much.&nbsp; There is no console in an InfoPath form.
    Posted to Newbie Questions (Forum) by Jimmy on 02-20-2009
  • Re: Accessing controls in C#

    If you post the code you&#39;re trying to use, we might be able to figure out what&#39;s going wrong.
    Posted to Newbie Questions (Forum) by Jimmy on 02-20-2009
  • Re: Accessing controls in C#

    In InfoPath we don&#39;t access a form&#39;s controls directly, but by accessing the XML document represented by the main data source.&nbsp; An InfoPath form is just a visual representation of an XML document. So if I had a textbox bound to a field with the path myFields/field1, I could change its value like this: XPathNavigator ...
    Posted to Newbie Questions (Forum) by Jimmy on 02-20-2009
  • Re: Populate a Rich TextBox from Filtered data

    Sure, here you go. Please extract the .zip to somewhere on your&nbsp;computer and open the XSN in design mode.&nbsp; Press Alt+Shift+F12 to open up VSTA.&nbsp; It may give you an error about not being able to locate the code project.&nbsp; Please direct it to where you extracted the .vbproj file. Then if you start debugging (F5) the form will ...
    Posted to Newbie Questions (Forum) by Jimmy on 02-19-2009
  • Re: Populate a Rich TextBox from Filtered data

    Ok, it sounds like your requirements might call for copying the data from your secondary data source to the main data source, and then showing that data in a repeating section, where it can be modified by the form user. &nbsp;Here are the steps you could take to accomplish this: Create a repeating group in your data source with&nbsp; a ...
    Posted to Newbie Questions (Forum) by Jimmy on 02-19-2009
  • Re: Querying secondary data connection

    As a user in another thread has asked about a similar question but in Visual Basic, I have worked up a VB version of this solution.&nbsp; The underlined parts will likely need modification to be used with a specific solution. Here&nbsp;is the code: Public Sub CTRL11_5_Clicked(ByVal sender As Object, ByVal e As ...
    Posted to SQL Database Integration (Forum) by Jimmy on 02-19-2009
  • Re: Populate a Rich TextBox from Filtered data

    A repeating section must be bound to a repeating group or field in the data source.&nbsp; This is indicated in a data source tree by an icon (either a folder icon or a piece of paper icon) with a blue rectangle and a white arrow pointing downwards.&nbsp; Try expanding the nodes in the secondary data source and looking for an icon like this (it ...
    Posted to Newbie Questions (Forum) by Jimmy on 02-19-2009
  • Re: Run a scipt against a field in a repeating table

    //my:FirstName, //my:LastName, etc. are absolute paths that resolve to the first node in the entire data source with that name.&nbsp; Please try replacing &nbsp;&nbsp;&nbsp;&nbsp;firstname = oItem.selectSingleNode(&quot;//my:FirstName&quot;).text &nbsp;&nbsp;&nbsp; lastname = ...
    Posted to Code (Forum) by Jimmy on 02-19-2009
  • Re: Programmatically read all nodes in List Box

    Hello again, &nbsp;I&#39;m not entirely clear on what you&#39;re trying to do.&nbsp; If you&#39;re just trying to access a bunch of values in code, then getting at them in a secondary data source should not be all that more complicated than accessing it in the main data source; really just the code you have up there with a few lines changed and a ...
    Posted to Newbie Questions (Forum) by Jimmy on 02-19-2009
  • Re: Populate a Rich TextBox from Filtered data

    It sounds like what you want to&nbsp;do&nbsp;might be better suited for a repeating table or repeating section, rather than a rich text box.&nbsp; These controls can easily have rows removed from them more cleanly than a text control can. &nbsp;Programming in InfoPath can be confusing at first, but it is really little more than XML manipulation, ...
    Posted to Newbie Questions (Forum) by Jimmy on 02-19-2009
Page 234 of 259 (2583 items) « First ... < Previous 232 233 234 235 236 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.