Search - InfoPath Dev

InfoPath Dev

Search

Page 213 of 259 (2583 items) « First ... < Previous 211 212 213 214 215 Next > ... Last »
  • Re: Formula to calculate days off

    &nbsp;If the P is capitalized here: &nbsp;dc.Command = &#39;DECLARE @remainingPays smallint &#39; + &#39;EXECUTE &quot;dbo&quot;.&quot;VCS_SP_Remaining_Pays&quot; \&#39;&#39; + HireDateV + &#39;\&#39;, @Remainingpays OUTPUT &#39; + &#39;SELECT @Remainingpays as RemainingPays&#39;; Then it should be capitalized here: &nbsp;var rp ...
    Posted to Newbie Questions (Forum) by Jimmy on 07-24-2009
  • Re: Formula to calculate days off

    &nbsp;The part that looks something like this:dc.Command = &#39;DECLARE @remainingPays smallint &#39; + &#39;EXECUTE &quot;dbo&quot;.&quot;VCS_SP_Remaining_Pays&quot; \&#39;&#39; + HireDateV + &#39;\&#39;, @remainingPays OUTPUT &#39; + &#39;SELECT @remainingPays as RemainingPays&#39;;Did you copy it exactly, or did you modify it somehow? And ...
    Posted to Newbie Questions (Forum) by Jimmy on 07-24-2009
  • Re: Formula to calculate days off

    Where&#39;s the part where you&#39;re setting the query text?
    Posted to Newbie Questions (Forum) by Jimmy on 07-24-2009
  • Re: Formula to calculate days off

    &nbsp;Could you paste the section where you are currently seting the query text?
    Posted to Newbie Questions (Forum) by Jimmy on 07-24-2009
  • Re: Formula to calculate days off

    Up near the top of the JScript code, you should see a section where SelectionNamespaces is being defined.&nbsp; You&#39;ll need to add this line right after it:XDocument.DataObjects[&quot;PayPeriodsDataSource&quot;].DOM.setProperty(&quot;SelectionNamespaces&quot;, ...
    Posted to Newbie Questions (Forum) by Jimmy on 07-24-2009
  • Re: How do I access a textbox value using VBScript

    We use CabLib in our solutions when we need to programmatically fix up an InfoPath template.&nbsp; It&#39;s a free library for extracting and compressing .CAB files (.XSNs are essentially just .CABs). Depending on how many of these templates you have to deal with, you may want to give CabLib a try.&nbsp; Or you could take a midway approach, ...
    Posted to Newbie Questions (Forum) by Jimmy on 07-24-2009
  • Re: Formula to calculate days off

    &nbsp;As I suspected, the form is not opening because of this line: &nbsp;dc.Command = &#39;execute &quot;dbo&quot;.&quot;VCS_SP_Remaining_Pays&quot; &#39;, &quot;{d \&#39;&quot; + HireDateV + &quot;&#39;}&quot; &#39;, &#39; + Remainingpays + &#39; output&#39;; &nbsp;Here you have a comma where you should have a plus ...
    Posted to Newbie Questions (Forum) by Jimmy on 07-23-2009
  • Re: Highlight Fields That Change Based on DropDown Value

    &nbsp;To create an attribute field, just right-click any field in your data source (in the taskpane) and click &quot;Add...&quot;&nbsp; A dialog will come up that allows you to name the attribute and create it. &nbsp;To create attributes with the same name in more than one place, right-click the attribute you want to reuse, select ...
    Posted to Controls (Forum) by Jimmy on 07-23-2009
  • Re: Formula to calculate days off

    &nbsp;I&#39;m pretty sure you&#39;re going to need to do the {d ...} thing in order for SQL to accept the date unless that field is a string-type field in the database.&nbsp; Maybe there was a missing quotation mark somewhere preventing the form from opening. &nbsp;It looks like you&#39;re missing a space before output.&nbsp; Try using &#39; ...
    Posted to Newbie Questions (Forum) by Jimmy on 07-22-2009
  • Re: Highlight Fields That Change Based on DropDown Value

    Not the easiest solution, but what you can do is add an attribute called changed to all the fields whose changes you want to track.&nbsp; Then create a rule on each of these fields like this: Condition: Mode = &quot;Amendment&quot; Action: Set changed to &quot;true&quot; This rule should fire any time one of the fields is changed while the ...
    Posted to Controls (Forum) by Jimmy on 07-22-2009
Page 213 of 259 (2583 items) « First ... < Previous 211 212 213 214 215 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.