I had many problems with this when I first started writing code in VBA.
Larry and Robert are correct, in stating that you should use the Val() function, to return the Value of the string contained in the TextBox, however- this is the problem I was having, and that I assume you are having.
I believe Access is telling you that "You are referencing a control that does not have focus", or something of that type.
What a pain! Set the focus of every control you want to modify? Ah, but no.
Try:
txtYield.Value = Val(txtInterest.Value) * Val(txtPrice.Value)
Instead of:
txtYield.Text = txtInterest.Text * txtPrice.Text
The Text property of a control, is only what's viewed, where-as the Value property, is te actual underlying data. The underlying data CAN be set, where-as you can't set the Viewable data directly.
Hope this helps.
-MoGryph