MS Access Auto-populate (Default) Table


I have a table, ‘Table3’ that has 5 fields:  Condition1, Condition2, Condition3, Condition4 and Condition5.
Each one of these fields are formatted for ‘ShortText’ and can only be populated with 2 possible entries:
“” (Blank) or ‘Delete—‘

I have a separate Form with a button on it that is programed to determine if a particular filed should be “”(Blank) or contain the word ‘Delete—‘ and it will automatically fill the fields on Table3 accordingly.

Note:  This is based on If/Then/ElseIf statements related to entries on other Tables.  For example:

If Field3.Table5 = ‘1’ Then Field1.Table3 = “” (Blank) Else Field1.Table3 = “Delete—“
If Field3.Table5 = ‘2’ Then Field1.Table3 = “Delete--” Else Field1.Table3 = ““ (Blank)

Here’s my problem:  By default, all entries on Table3  are “”(Blank)—that is to say, if none of the conditions are met in one of my If/Then/ElseIF statement—Access will simply leave the field empty in Table3.

I want to reverse this.  What I want is all of the fields in Table3 to say “Delete—“ by default, and only turn to “”(Blank) if a particular condition is met.

Any idea how to do this?

By the way, I’m kind of new to Access so if you could really walk me through each step it would be most appreciated.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
You can set a Default value on your table, so that NEW records will have a specific value. To do that, open the table in design view and select the column you want to work with, then set the Default Value to whatever you want:

Default Field Value

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mdstallaAuthor Commented:
Ha!  That was super easy!  I thought this would require 3 pages of code.

Thanks Scott.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.