Computed field on data entry

B

Bill Burton

I need to have a computer field automatically update when
data is entered into a form. I will be combined elements
from two entered fields to create a third field. How do I
do this?
 
T

Tim Ferguson

I will be combined elements
from two entered fields to create a third field. How do I
do this?

You don't. This is a job for a SELECT query[1], which will be always up to
date and faster, will eliminate your maintenance headaches and generally
put you on the side of the angels.



[1](or perhaps a calculation in a textbox on a form or report, but getting
the server to do it is usually better)


HTH


Tim F
 
S

Steve Schapel

Bill,

Put an unbound textbox on the form, with its controlsource property
set to something like this...
=<the bit from the first field> & <the bit from the other field>
If you mean you have a field for the combined data in your table which
the form control is bound to, it is very likely that this is not a
good idea.

- Steve Schapel, Microsoft Access MVP
 

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