So the idea is to have function that is used when adding rows in a subform. The subform is pretty much a price calculator, that has 3 fields: columnValue ( which is integer, 1,2,3..8), rowValue(also integer, 100,150,200..300), and Price (Which needs to be updated after entering the rowValue field.
float pricePerItemCalculator(int columnValue, int rowValue)
The problem is that with this, I only get it working for the first row added in the subform. After that for the rest of the rows it doesn't update the Price field.
I also tried with row.Price_per_Item instead of input., which didn't help.