InfoPath repeating section DateDiff - InfoPath Dev
in

InfoPath Dev

InfoPath repeating section DateDiff

Last post 05-13-2009 02:44 AM by ramakrishna. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-10-2009 09:35 PM

    InfoPath repeating section DateDiff

    I am a newbie to InfoPath and VBScript and trying to learn those on the fly. The task I created for myself is to calculate the number of workdays between two date fields. I spent humongous amount of time (2 weeks) trying to get this done, tried it on my own, googled it. There are few solutions published on the internet and I found: by Alec Pojidaev and by SYM Wong A Ton. Those are both great, but the one that was proposed by Sym Wong A Ton here http://www.bizsupportonline.net/infopath2003/datediff-vbscript-infopath.htm is more suites my needs. The only problem, I cannot make it work for Repeating Table or Repeating Section in InfoPath 2007. Please take a look at the code (by Sym Wong A Ton) and suggest what to add/change to make it work for 2,3,4, etc row. I would really appreciate your help. Thank you!
    Ram.
  • 05-10-2009 11:50 PM In reply to

    Re: InfoPath repeating section DateDiff

    Madhuri
    http://www.ggktech.com
  • 05-13-2009 02:44 AM In reply to

    Re: InfoPath repeating section DateDiff

    Thank you very much for your prompt reply.  What I would love to get from the solution is <br>

    1) number of workdays calculation (time calculation is not needed, it complicates the problem, as I just started learning InfoPath and VBScript) <br>

    2) the calculation should be executed for each row of repeating table. <br> thanks again

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