I am trying to create a query that calculates the sum of specific trip expanses. I have two talbes:
1) TripInfo :
TripId
TripName
CalculatedExpences (The sum of all expenses detailed on the TripExpence Table) .
2) TripExpences :
TripId (Linked to TripInfo Table)
TripExpenceId
TripExpenceName
TripExpenceSum (Sum of the spesific Expence)
I would like to create a query that will sum up all my expenses for the specific trip and will calculate the final sum into TripInfo.CalculatedExpences.
1) TripInfo :
TripId
TripName
CalculatedExpences (The sum of all expenses detailed on the TripExpence Table) .
2) TripExpences :
TripId (Linked to TripInfo Table)
TripExpenceId
TripExpenceName
TripExpenceSum (Sum of the spesific Expence)
I would like to create a query that will sum up all my expenses for the specific trip and will calculate the final sum into TripInfo.CalculatedExpences.