Depends on what you are doing and what the objects are.
What is [PROPYR] ? is it a field in the form's recordset or is it the name
of a control on your form? Same question for [PROP_CT]
First, you will need a Text Box control on your form bound to the field.
Then you have to determine when you have both pieces of information
available. Then assign the result of the calculation to the bound control.
BUT!
The real answer is don't do it. Storing calculated values in tables
violates database normalization rules. It only waste space and time to store
a calculated value and sooner or later, it will become inaccurate. The
better practice is to calculate the value only when needed to present to
humans.
--
Dave Hargis, Microsoft Access MVP
AusTexRich said:
="M" & Format([PROPYR],"yy")+"-" & Format([PROP_CT],"00000")
I want the results of the expression to be saved to the table in a
particular field.
How can I do this?
Thank