pangono
Bored out of my brain
- Local time
- Today, 10:07
- Joined
- Mar 16, 2007
- Messages
- 10
Hope you can help. Having problems displaying a calculated field in a parent form.
I have a form Stock and a subform StockSubform2. In StockSubform2 I have a field (txtMaxUnitCost) calculating the highest cost of a number of stock purchases. The expression to calculate the highest cost is:
. This is the name of the control not the table field.
Then in the parent form, Stock, I link to this control with:
.
I get an #Error message and I'm not sure what is wrong.
I have a form Stock and a subform StockSubform2. In StockSubform2 I have a field (txtMaxUnitCost) calculating the highest cost of a number of stock purchases. The expression to calculate the highest cost is:
Code:
=Max([txtUnitCost])
Then in the parent form, Stock, I link to this control with:
Code:
=Forms!Stock!frmStockSubform2!txtMaxUnitCost
I get an #Error message and I'm not sure what is wrong.