Overwrite expression-based value in a control

C

CW

I have a Materials_Crates form on which we calculate the costs of packing
items for shipment, and arrive at a total cost.
That total materials cost is then displayed in a control on the Quotes form,
using this expression:
This works fine but sometimes the user needs to over-write that cost. This
is not possible and the following message is displayed:
Control can't be edited; it's bound to the expression
=[Forms]![Main]![Materials_Crates].[Form]![Text200]
The control properties include Enabled=Yes and Locked =No.
How can I make this control editable?
Many thanks
CW
 
C

CW

Dave -
Perfect solution, and so easy (as always, once you know!)
Many thanks
CW

Klatuu said:
Instead of binding the control to the expression, make the expression the
Default Value of the control. Then it will present the value, but you will
be able to edit it.
--
Dave Hargis, Microsoft Access MVP


CW said:
I have a Materials_Crates form on which we calculate the costs of packing
items for shipment, and arrive at a total cost.
That total materials cost is then displayed in a control on the Quotes form,
using this expression:
This works fine but sometimes the user needs to over-write that cost. This
is not possible and the following message is displayed:
Control can't be edited; it's bound to the expression
=[Forms]![Main]![Materials_Crates].[Form]![Text200]
The control properties include Enabled=Yes and Locked =No.
How can I make this control editable?
Many thanks
CW
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top