add a column in access from an expression

Hi, I am trying to create a table and add a column which results from concatenating 2 exisiting columns, much like how you can do it in Excel, but am having a great difficulty doing it.
Ultimately, I would like to make this automatic, so every time I open this table, this column gets recalculated.    How should I approach this?  
yballanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Patrick MatthewsCommented:
>>How should I approach this?

You should it approach it by NOT putting that into your table.

Storing derived data is almost always a bad idea.  Instead, you should calculate stuff like that on demand in your queries, reports, and forms.
0

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
kmslogicCommented:
You can't create calculated columns in Access in the table itself as matthew said.  What you want to do is create a Query based on the table and then put your calculated field there and then base future queries/ forms/ reports off of that query instead of off the table itself.

In your query, for example if Col1 and Col2 are numbers you could have:

Col3: [Col1] + [Col2]

it's as simple as that.
0
yballanAuthor Commented:
Thank you, both, that makes a lot of sense.
0
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.