Hello,
There are 3 tables with fields as shown below. All the tables are on the same form.
Side One: tblOrders
Side Many: tblOrderDetails , tblExchangeRate s
I would like to make a calculated field “Value” in tblOrderDetails .
How can I pass to this calculated field the value of exchange rate field from tblExchangeRate s?
Thank you for any hints.
tblOrders (one side)
orderID (PK)
(other fields)
tblOrderDetails (many side)
orderElementID (PK)
orderID (FK)
elementName
Quantity
Price
CurrencyName
Value (=Quantity*Pric e*exchangeRate)
(other fields)
tblExchangeRate s (many side)
exchangeRateID (PK)
orderID (FK)
currencyName
exchangeRateVal ue
PK – primary key
FK – foreign key
Marcin.
There are 3 tables with fields as shown below. All the tables are on the same form.
Side One: tblOrders
Side Many: tblOrderDetails , tblExchangeRate s
I would like to make a calculated field “Value” in tblOrderDetails .
How can I pass to this calculated field the value of exchange rate field from tblExchangeRate s?
Thank you for any hints.
tblOrders (one side)
orderID (PK)
(other fields)
tblOrderDetails (many side)
orderElementID (PK)
orderID (FK)
elementName
Quantity
Price
CurrencyName
Value (=Quantity*Pric e*exchangeRate)
(other fields)
tblExchangeRate s (many side)
exchangeRateID (PK)
orderID (FK)
currencyName
exchangeRateVal ue
PK – primary key
FK – foreign key
Marcin.
Comment