Hello,
I'm creating a daily detail log for a friends construction company in Infopath 2003. What I've done is create a repeating section which will represent a particular day of the job. Inside of this repeating section will be the repeating table which will display the equipment used that day and for how long. The equipment will be in a drop down list format and the quantity will be in double format.
In the repeating table, I created just one row that looks like this:
Equipment | Worker | Quantity
Drop Down | Drop Down | Decimal value in a Txt Box
As he fills out the table, he can add rows as appropriate for that day's equipment usage. When it comes to the next day of the job, he will select the repeating section to create another "day", with a new embedded repeating table and so on.
What I ultimately want to do is total the numerical values, from each section, at the bottom of the page based on the drop down list selection. In other words, if he chose the Chain Saw on day 1, 3, and 4 for 6 hours a day, at the bottom, I would like to see :
Chain Saw 18 hours
The Master/Detail looked promising, but I ran into the same problem of not being able to add like values together. I have a feeling that somehow I have to work in the primary key that's built into the Access "equipment database", and get the control to sum similar keys. Is this possible using expressions built into infopath or will I have to create code to solve this problem?
Thank you for your time in advance. I apologize if this is an obvious question. This is my first infopath experience and the learning curve is near vertical.