Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / January 2008

Tip: Looking for answers? Try searching our database.

New Column to Existing Table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Richard - 18 Jan 2008 17:31 GMT
I need help adding a column to an existing table.  The data I would like to
add is located in an Excel spreadsheet.  I do have a primary key that I can
use for indexing the correct values into the correct rows.  How can I easily
import my new data into my current table? Please note I am a novice and don't
have programming experience.  Is this possible without placing this data in a
seperate table?
Arvin Meyer [MVP] - 18 Jan 2008 17:45 GMT
Add the column to the Access table

Link the Excel spreadsheet to Access:

File >>> Get External Data >>> Link Tables

Change the file type to Excel and connect the Excel sheet. Then create a
query. that links the Excel "table" to the Access table and run an Update
query. Something like:

UPDATE tblAccessData INNER JOIN Sheet1 ON tblAccessData ID= Sheet1.ID SET
tblAccessData.NewAccessColumn= [Sheet1].[ExcelColumn];
Signature

Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

>I need help adding a column to an existing table.  The data I would like to
> add is located in an Excel spreadsheet.  I do have a primary key that I
[quoted text clipped - 6 lines]
> in a
> seperate table?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.