G
Guest
Hi, and thanks in advance
. Maybe I did this the wrong way, not sure. I
have a form that pops up when I open the database that sets a default value
called MarketID.
The user chooses the market from a form and when they click the command
button, a new table is created (tblSettings) with the MarketID. All new
records added to the database should have this MarketID until it is changed
by going to the form again.
So far so good, my problem is this, on my forms, how do I lookup that
MarketID and make it the default value for the field MarketID if the value is
null? And, I don't want to change any of the existing values of this field,
it should only affect new records.
Thanks for your time,
Deb

have a form that pops up when I open the database that sets a default value
called MarketID.
The user chooses the market from a form and when they click the command
button, a new table is created (tblSettings) with the MarketID. All new
records added to the database should have this MarketID until it is changed
by going to the form again.
So far so good, my problem is this, on my forms, how do I lookup that
MarketID and make it the default value for the field MarketID if the value is
null? And, I don't want to change any of the existing values of this field,
it should only affect new records.
Thanks for your time,
Deb