P
phamilton7733
Hi, I am new to Infopath and am using the Office 2007 Beta 2 for evaluation.
I have a requirement for a form that requires a date difference calculation
in a repeating table. Hey, doing this in Excel is easy, doing it in Access
is easy, but I want to use Infopath.
Basically, I need two repeating tables that look something like this:
Task | StartDate/Time | EndDate/Time | TotalMinutesForTask
aaa | Dec 25, 2006 9:00 AM | Dec 26, 2006 9:00 AM | (I need this auto
calculated).
The table will need to have unlimited rows that can be added/deleted (like
Excel would do). The reason why we want to use Infopath for the RAD
development approach, and we want to use the Windows Workflow services in
Office Sharepoint Server 2007 to attach a routing workflow to this Infopath
document.
I haven't found a way to have the calculated cell (the TotalMinutesForTask)
automatically update when a dependent cell is changed as I can't seem to use
the built in Formulas in the expression editor for Datetime calculations. I
have written a .NET function using VSTA that does the calculation, so this is
an option to use if someone can advise as to how I can wrap a .NET function
in the Expression editor for the text box. Other options may be to write a
"Calculate" button that will iterate through the rows and recalculate them.
I am hoping that I am not the first developer that has encountered this
challenge. If anyone can help me out it would be appreciated.
If Infopath is not the appropriate techology to use, please let me know of
another way I might accomplish this, we have all the MS development tools
available.
I have a requirement for a form that requires a date difference calculation
in a repeating table. Hey, doing this in Excel is easy, doing it in Access
is easy, but I want to use Infopath.
Basically, I need two repeating tables that look something like this:
Task | StartDate/Time | EndDate/Time | TotalMinutesForTask
aaa | Dec 25, 2006 9:00 AM | Dec 26, 2006 9:00 AM | (I need this auto
calculated).
The table will need to have unlimited rows that can be added/deleted (like
Excel would do). The reason why we want to use Infopath for the RAD
development approach, and we want to use the Windows Workflow services in
Office Sharepoint Server 2007 to attach a routing workflow to this Infopath
document.
I haven't found a way to have the calculated cell (the TotalMinutesForTask)
automatically update when a dependent cell is changed as I can't seem to use
the built in Formulas in the expression editor for Datetime calculations. I
have written a .NET function using VSTA that does the calculation, so this is
an option to use if someone can advise as to how I can wrap a .NET function
in the Expression editor for the text box. Other options may be to write a
"Calculate" button that will iterate through the rows and recalculate them.
I am hoping that I am not the first developer that has encountered this
challenge. If anyone can help me out it would be appreciated.
If Infopath is not the appropriate techology to use, please let me know of
another way I might accomplish this, we have all the MS development tools
available.