Search - InfoPath Dev

InfoPath Dev

Search

Page 2 of 3 (23 items) < Previous 1 2 3 Next >
  • Re: Totals based on drop down selection

    Perfect.&nbsp; Thank you so much for being patient with me.&nbsp; I like InfoPath a lot now, I hope I can dabble around in it some more.
    Posted to Newbie Questions (Forum) by punkn00dlez on 11-20-2008
  • Re: Totals based on drop down selection

    I can&#39;t open your form, it&#39;s telling me to open it from the location in which it was published.
    Posted to Newbie Questions (Forum) by punkn00dlez on 11-20-2008
  • Re: Totals based on drop down selection

    The form I started out with was the built-in IP template and modified it from there since I never used it before.&nbsp; Either way, here&#39;s the gist of the form, formulas intact.
    Posted to Newbie Questions (Forum) by punkn00dlez on 11-19-2008
  • Re: Totals based on drop down selection

    Yeah, the total field on the form is bound to the total data source and it&#39;s default value was &quot;subTotal-cashAdvance&quot; but I just recently learned I didn&#39;t need that, so I got rid of it and set the default value to 0.00.&nbsp; I&#39;ve even tried created a new field element named percent, inputting the function we&#39;re working ...
    Posted to Newbie Questions (Forum) by punkn00dlez on 11-19-2008
  • Re: Totals based on drop down selection

    Alright, so I downloaded the file and understand what you&#39;re getting at completely, however unlike your total field,&nbsp;my total field is automatically calculated.&nbsp; Do I need to turn my total field into a regular text box and have the submitter total up the information themselves?
    Posted to Newbie Questions (Forum) by punkn00dlez on 11-19-2008
  • Re: Totals based on drop down selection

    It still shows the NaN or -1.#IND on the design view and still calcualtes everything to be equal to zero.&nbsp; The formula checker says there&#39;s no issues with my (by my I mean your)&nbsp;formula either.&nbsp; So technically there shouldn&#39;t be anything wrong.
    Posted to Newbie Questions (Forum) by punkn00dlez on 11-18-2008
  • Re: Totals based on drop down selection

    I&#39;m sorry to keep bugging you with simple stuff.&nbsp; Here&#39;s my XPath code: sum(/my:expenseReport/my:items/my:item/my:cost[../my:category = &quot;86810&quot;])&nbsp;div /my:expenseReport/my:items/my:total.&nbsp; The field will only have a value once the submitter fills in a field named &quot;cost&quot;.&nbsp; Once that&#39;s there, the ...
    Posted to Newbie Questions (Forum) by punkn00dlez on 11-18-2008
  • Re: Totals based on drop down selection

    My error was generated because the way I tried it was completely and horribly wrong. &nbsp;The code you just posted shoots back one of 2 errors depending on how the expression field properties are set.&nbsp; As a decimal, I get &quot;-1.#IND&quot; and as text I get &quot;NaN&quot;.&nbsp; These are showing up in design view when I see this.&nbsp; ...
    Posted to Newbie Questions (Forum) by punkn00dlez on 11-18-2008
  • Re: Totals based on drop down selection

    Perfect! Thank you so much!&nbsp; Quick question about the sytax though-why was it expecting a comma when you needed to place a close parenthesis? *EDIT Say I wanted to divide the output from the code above by another field to get a percentage, how would I go about that?&nbsp; I tried the div operator, but it told me I needed a number.&nbsp; ...
    Posted to Newbie Questions (Forum) by punkn00dlez on 11-18-2008
  • Re: Totals based on drop down selection

    Thanks! That one&nbsp;just looks like it&#39;d&nbsp;work&nbsp;better than the other solutions. However, I get this error back: Expected value type: , Actual value: end-of-string sum(/my:expenseReport/my:items/my:item/my:cost[../my:category = &quot;86810&quot;]&lt;--
    Posted to Newbie Questions (Forum) by punkn00dlez on 11-18-2008
Page 2 of 3 (23 items) < Previous 1 2 3 Next >
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.