I have the following code to try and calculate a total amount from a table:
Dim LTotal As Currency
LTotal = DSum("Total_Price", "Recipe_Ingredients", RecipeId)
Forms![Recipes1]![Text45] = LTotal
Yet when it runs it appears to be calculating the total of all the table rather than for a...