Search - InfoPath Dev

InfoPath Dev

Search

Page 20 of 27 (270 items) « First ... < Previous 18 19 20 21 22 Next > ... Last »
  • Re: *simple* Xpath question

    My biggest recommendation when debugging xpaths that are supposed to work but return null is to put a breakpoint in the debugger and try to run your xpath incrementally, removing pieces from the right until it starts to return something. Then examine the resulting navigator/node/what-have-you in the watch window and try to figure out what is ...
    Posted to General (Forum) by davidair on 06-22-2007
  • Re: Accessing expressionbox information in code.

    The short answer is &quot;no&quot; - the expression box text is not stored in the data and you can only manipulate the data in the forms code. The long answer is &quot;well, it depends&quot;. There are two possible things you can put into an expression box: - an xpath xpression (as complex as you want) - plain text In the first case, you ...
    Posted to Newbie Questions (Forum) by davidair on 06-22-2007
  • Re: Get the display name of the selected Drop Downlist box Instead of Value

    You cannot. The display value is a pure view notion and view cannot be accessed by neither rules not scripting. Your workaround is to define an aux data source based off an XML file where you will type the values for the dropdown. For example, it may look like this: &lt;data&gt; &nbsp; &lt;option ...
    Posted to Controls (Forum) by davidair on 06-20-2007
  • Re: Disable textbox from code

    Hey saudak, to make a textbox read-only, double-click on it, select Display then Conditional Formatting. Add your condition, then check the read-only box. Your condition may depend on another field. Now you can set this field either via rules, calculation or code, it&#39;s up to you! This is the only way of dynamically changing the read-only ...
    Posted to Code (Forum) by davidair on 06-19-2007
  • Re: Disable textbox from code

    Hello saudak, You cannot manipulate the form controls in the code - the only thing you can access is the XML data. As such , selectSingleNode returns you an XML node, you can only change its value and you can never communicate directly with the control that displays that value. Because of this, there is simply no Enabled property available on the ...
    Posted to Code (Forum) by davidair on 06-18-2007
  • Re: Does infopath require any specific SOAP Parameter style

    InfoPath is pretty picky about web services and only supports Document/Literal style. More on this (including workarounds) here: http://msdn2.microsoft.com/en-us/library/aa202750(office.11).aspx
    Posted to Web Services (Forum) by davidair on 06-14-2007
  • Re: Reading from an external XML file.

    Hey, you&#39;re welcome! I think the reason why these contorsions are needed is because there is some obscure bug with reading the XML directly.
    Posted to Newbie Questions (Forum) by davidair on 06-14-2007
  • Re: Change the Secondary Query

    This happens because there is no QueryAdapters property... To access the main query adapter&#39;s command, use this: XDocument.QueryAdapter.Command To access a secondary adapter&#39;s command, use this: XDocument.DataObjects[&quot;Detail&quot;].QueryAdapter.Command Hope this helps. Also using F1 while editing the code is very helpful, just ...
    Posted to Data Connections (Forum) by davidair on 06-14-2007
  • Re: Reading from an external XML file.

    I am not sure why it does not work - have not used the FSO in a while. But maybe you could just use ReadAll() instead of ReadLine() and not worry about while loops...
    Posted to Newbie Questions (Forum) by davidair on 06-14-2007
  • Re: Tableau extensible & bouton

    Qu&#39;est-ce que ton bouton fait? Utilises-tu les R&egrave;gles?
    Posted to Français (French) (Forum) by davidair on 06-14-2007
Page 20 of 27 (270 items) « First ... < Previous 18 19 20 21 22 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.