Importing and combining data from other database

adamhe

New Member
Joined
May 26, 2004
Messages
1
I want to import either excel data or use already existing database data however a new column that will be in the new database will be a total of two other columns from the previous one. Can this be accomplished in access automatically so that as new data is entered it will calculate this new column on the fly?

Just curious as I am new with out Access operates.

Thanks,

Adam :p
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
As a general rule you don't do calculations in tables or store calculations. There are a couple of ways to go:

1. Keep it all in a query.
Build a query with all fields from the imported table, plus an extra field which combines data from the 2 fields you want to join. Example: to create FullName from FirstName and LastName you could do this --
FullName:=[LastName] & ", " & [FirstName] This gives names in the format Brown, Dave
Then use this query as the basis for all other forms / reports / etc

2. Use an Update query to write the combined data into a new table field. Same expression as above but you need to run it EVERY time you import or the data changes.

Personally, I'd go with the first option unless you have thousands of records and you find things getting very slow.

Denis
 
Upvote 0

Forum statistics

Threads
1,221,692
Messages
6,161,351
Members
451,697
Latest member
pedroDH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top