Hi - I have an Access database that I created to track fuel mileage for my Automobiles several months ago. Originally the database worked without issue. However a few weeks ago the charts I had on my main Form and my Mileage trend report quit working. I've been able to correct the chart issue but the Mileage trend report still has an issue. Originally the report would display the mileage each auto got for each tank of gas generated from a query. The report would then average those mileage numbers for each auto so that I would have an overall average mileage for each auto using the totaling on the report. That totaling has quit working. I get an error message shown in Figure #1 when trying to run the report.
Figure #1
I've been able to trace the issue all the way back to the table containing the data by creating a field (not sure why I didn't do this originally) to calculate the MPG for each entry in the table itself as shown in Figure #2 attached.
Figure #2
I've discovered that when I add the totaling row to the table in datasheet view, this MPG field the functions SUM, Average, Standard Deviation, or Variance will not work in the totaling row for that column. I have another calculated field in the same table which will do those things without issue. The only difference between the two calculated fields is that the MPG field is a division calculation and the other is a Multiplication calculation. I'm sure this is something simple but so far have been unable to figure it out. Anyone have any ideas or suggestions I could try to resolve the issue?
Thanks