Hello,
I have the following calculated field:
=[quantity]*[pricePerPiece]*[currency].[column](1)
“Currency” is a comobox based on the following query:
SELECT DISTINCT tblCurrencyNames.CurrencyName, tblExchageRates.ExchangeRate
FROM tblCurrencyNames LEFT JOIN tblExchageRates ON tblCurrencyNames.CurrencyName = tblExchageRates.CurrencyName
WHERE (((tblExchageRates.OrderID)=[form]![OrderID]));
I have the following VBA statement in AfterUpdate event:
Forms!frmOrders!sfmorders.Form!CurrencyName.Requer y
Question:
Why is the calculated field updated with the correct value after entering value (in ExchangeRate field) 2nd time? After 1st attempt the calculated field is updated with a value which does not correspond to the formula.
Thank you for hints.
MS Access 2007
Marcin