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.