I want to use a field as the default value for another field

K

Kathy D

I am setting up a table that includes the field "First Name" and "Familiar
First Name" I want the default for the second field to be the first since in
most cases, it's the same-I cannot find out how to do this anywhere!! There
must be an expression or something???
 
R

Rick Brandt

Kathy said:
I am setting up a table that includes the field "First Name" and
"Familiar First Name" I want the default for the second field to be
the first since in most cases, it's the same-I cannot find out how to
do this anywhere!! There must be an expression or something???

Nope, because all default values are assigned the instant the "New record"
position is displayed, before you have had an opportunity to enter a value
in [First Name].

On a Form (where all data entry belongs) you can use the AfterUpdate event
of [First Name] to set the value of [Familiar First Name]

If IsNull(Me![Familiar First Name]) = True Then Me![Familiar First Name] =
Me![First Name]
 

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