I have an infopath form developed on a list with a repeating table. The form have 2 data connections to the same list. (one is secondary)
It is build for a budget. You select the project number, and the different expenses for that project is displayed. Then you can add another expense. The expenses (Item column) is in different groups, Resources, Consultants, Travel, ect.
A thrid datasource retreive the resources from the resource list that contains their rate per hour.
I'm having trouble with 2 items on the form:
1. I need to subtotal all the different type of expenses, all expenses are listed in the budget's repeating table and at the bottom I have 3 lines for Subtotal - Resources, Subtotal - Consultants and Subtotal - Travel. How do I calculate those fields, in other words I need to sum all amounts where item=resources, ect?
2. When I select resource from the item column, the data connection to the resource list should query the resource list and in the designation field populate the different designations, and based on the selected designation, populate the hourly tariff field. How do I accomplish that?
Your help will be much appreciated :-)