default value based on an expression within the table

A

angeleyes1307

it would be very helpful to me if I could set up a the default value for a
field based on what is entered in another field within the same table. is
that possible? and if so, how would i accomplish it? the default value
field does not seem recognize expressions containing other fields.
 
D

Dorian

What you are saying is that one column in your table is dependent on another
column.
That may not be good database design.
I urge you to look at the database rules called 'normalization' to ensure
you have a normalized table design.
It would be possible to do what you want in the form's 'BeforeUpdate' event
but it may not be desirable.
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".
 
N

news.newsfan.not

angeleyes1307 said:
it would be very helpful to me if I could set up a the default value for a
field based on what is entered in another field within the same table. is
that possible? and if so, how would i accomplish it? the default value
field does not seem recognize expressions containing other fields.
 

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