Sum(ytdExpenses) for only that year - InfoPath Dev
in

InfoPath Dev

Sum(ytdExpenses) for only that year

Last post 11-08-2006 10:54 AM by Michael71. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 11-06-2006 11:52 AM

    • Michael71
    • Top 50 Contributor
      Male
    • Joined on 10-07-2006
    • Mclean, Virginia-USA
    • Posts 283

    Sum(ytdExpenses) for only that year

    I figured out how to sum up the total running expenses, but when the year changes. The total shouldn start over. How do I do that? I'm thinking something like this Sum(monthlyexpenses) where ReportDate = current year.


  • 11-07-2006 03:37 PM In reply to

    Re: Sum(ytdExpenses) for only that year

    That sounds about right, have you tried it yet?
  • 11-08-2006 06:36 AM In reply to

    • Michael71
    • Top 50 Contributor
      Male
    • Joined on 10-07-2006
    • Mclean, Virginia-USA
    • Posts 283

    Re: Sum(ytdExpenses) for only that year

    No I haven't tried it because I'm not sure exactly how the code should be written.and what typre of code javascript or vbscript....let me know what type of code and where should I put it....please
  • 11-08-2006 10:54 AM In reply to

    • Michael71
    • Top 50 Contributor
      Male
    • Joined on 10-07-2006
    • Mclean, Virginia-USA
    • Posts 283

    Re: Sum(ytdExpenses) for only that year

    Does anyone have an idea how I would sum up the total running expenses, but when the year changes. The total should start over. How do I do that? I'm thinking something like this Sum(monthlyexpenses) where ReportDate = current year. Is it anyone who has done something similar to this. Also I have 6 different departments. I want the
    sum(monthlyExpenses) to sum this for different department, not all the departments...when the user opens the form. In other words when the user selects the department drop down box...the ytdExpenses........ytdbudget comes from the same database, but Selects just that department selected. What type of query or code will I have to write for this..please help....

Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.