Default value

G

Guest

Whenever I use the expression builder to select a field name in building an
expression in the default value property of a table field I get an error on
saving the table. How do I correct this?
 
A

Allen Browne

Access applies the Default Value before you begin entering any fields in the
new record. Since the field's don't have a value at this time, you cannot
make the Default Value of one field dependent on the value in another field.

One alternative is to use the AfterUpdate event of one control (in a form),
to set the value of another if it still IsNull().
 

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