Search - InfoPath Dev

InfoPath Dev

Search

Page 214 of 259 (2583 items) « First ... < Previous 212 213 214 215 216 Next > ... Last »
  • Re: Switch view based on user login

    You can do this with a Form Load rule.&nbsp; Just open Form Options from the tools menu, and in the Open and Save section, click the Rules... button.&nbsp; From there, you should be able to add the necessary logic to switch views accordingly.
    Posted to Views (Forum) by Jimmy on 07-22-2009
  • Re: Can you add a unbound control to a database form?

    A dropdown control is useless if it is not bound to a field.&nbsp; If there is not a field to store the control&#39;s value, the control can have no value. But what you can do if you really don&#39;t want to store the value in the form&#39;s main data source is to create a simple &quot;Form Logic&quot; secondary data source from an .XML ...
    Posted to Controls (Forum) by Jimmy on 07-22-2009
  • Re: VLookup type functionality

    I don&#39;t think you&#39;ll find anything as simple as VLookup in InfoPath, but XPath should be able to give you all the functionality that VLookup provides, and more.&nbsp; If you could give us an example of a data source and scenario where you would like to find a data value corresponding to another value, I or someone else here can show you ...
    Posted to General (Forum) by Jimmy on 07-22-2009
  • Re: FormState["_memberVariable"] = Class

    I&#39;m not sure why it has to be inconvenient.&nbsp; You could do something like: private XPathNavigator m_mRoot; private XPathNavigator mRoot { &nbsp;&nbsp;&nbsp;&nbsp; get &nbsp;&nbsp;&nbsp;&nbsp; { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(m_mRoot == ...
    Posted to Code (Forum) by Jimmy on 07-21-2009
  • Re: Formula to calculate days off

    &nbsp;At this point your SQL command is:&nbsp;execute &quot;dbo&quot;.&quot;VCS_SP_Remaining_Pays&quot; HireDate&nbsp;Because you put HireDate in quotes as a string literal. But aside from that, date literals in SQL are a bit tricky.&nbsp; What happens if you use:&nbsp;dc.Command = &#39;execute &quot;dbo&quot;.&quot;VCS_SP_Remaining_Pays&quot; {d ...
    Posted to Newbie Questions (Forum) by Jimmy on 07-21-2009
  • Re: Formula to calculate days off

    Let&#39;s approach one issue at a time. [quote user=&quot;acarita&quot;]When I preview the form and try to run it, i get the following error. The query cannot be run for the following DataObject: PayPeriodsDataSource InfoPath cannot run the specified query. [0x80040E14][Microsoft OLE DB Provider for SQL Server] Line 1: Incorrect syntax near ...
    Posted to Newbie Questions (Forum) by Jimmy on 07-21-2009
  • Re: Locate the current row in a repeating table and update the fields through button click.

    What you can do is store a reference to the most recently added row, which you can access later when the button is clicked: XPathNavigator lastChanged; int lastRowCount; public void group2_Changed(object sender, XmlEventArgs e) { &nbsp;&nbsp;&nbsp;&nbsp; if (e.Site.Name.Equals(&quot;my:group2&quot;)) &nbsp;&nbsp;&nbsp;&nbsp; ...
    Posted to Controls (Forum) by Jimmy on 07-21-2009
  • Re: Run a script against a field in a repeating section

    &nbsp;Yup, that was the problem.&nbsp; Glad you figured it out!
    Posted to Code (Forum) by Jimmy on 07-21-2009
  • Re: FormState["_memberVariable"] = Class

    &nbsp;I don&#39;t work with browser-enabled forms so I&#39;ve never used the form state, but could you tell us why you want to store an XPathNavigator globally?&nbsp; I can&#39;t think of a whole lot of reasons why you would need to.
    Posted to Code (Forum) by Jimmy on 07-21-2009
  • Re: Run a script against a field in a repeating section

    &nbsp;Might the field&#39;s name be LoginId with a lowercase D or Loginid with all of &quot;ID&quot; in lowercase?&nbsp; Please double-check the capitalization and if you can&#39;t figure it out could you post a screenshot of your data source?
    Posted to Code (Forum) by Jimmy on 07-21-2009
Page 214 of 259 (2583 items) « First ... < Previous 212 213 214 215 216 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.