Hello everyone,
I have a problem with create a calculated field in Access query. I have a table:
I tried to calculate it in such a way that the query I have added a calculated field with the following formula:
/*Formula Day ([Date]) returns me the value of exactly what I'm talking about, that is noumber day in the month). However, as a result of a query is counted only the value for the first row, and for the rest: 0.*/
Is my problem is resolvable at all?
Thank you in advance for your help,
Michael
I have a problem with create a calculated field in Access query. I have a table:
PHP:
|| Date || Some_value || My_calculated_field || Formula for "My_calculated_field"
2012-01-01 3000 3000 3000/1
2012-01-02 0 1500 (3000+0)/2
2012-01-03 0 1000 (3000+0+0)/3
2012-01-04 0 750 (3000+0+0+0)/4
2012-01-05 1000 800 (3000+0+0+0+1000)/5
Code:
My_calculated_field: Sum([Some_value])/Day([Date])
Is my problem is resolvable at all?
Thank you in advance for your help,
Michael