Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

easier way to update access table from excel?

Posted on 2009-05-07
7
638 Views
Last Modified: 2013-11-29
im working on a database that has a table of job tasks.  my boss updates the job task on an excel spreadsheet.  when he has updated a set of tasks he tells me and i get it from the network folder and start manually import to a new table.  i do this by tables, new, import table,and select excel.  it always has inport errors, format or something.  then i go through and find/replace things to make it work.  if there is a way to do an update query or something would be better.  there are things on the task list that usually dont change, like task number.  so i thought it would be better if i could automaticly do an update by task number.  like find #1 and update the remaining fields, and on to the next.  

any ideas on how to make this task easier for me?
0
Comment
Question by:sumhungl0
  • 3
  • 2
  • 2
7 Comments
 
LVL 9

Accepted Solution

by:
djpazza earned 333 total points
ID: 24326166
First thing I would do is to make the excel job sheet only contain the same data format that is being exported to access.  This will minimize any import errors.  I always try a keep the same column headings in access to match excel.

Then in Access create a 'linked table' to the excel file.  Then you can create a query in access to sort /filter the data.  Any information added to the source excel file will be reflected in Access.
0
 

Author Comment

by:sumhungl0
ID: 24330085
almost quittin time, gotta lock up shop.  have a good weekend!
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 167 total points
ID: 24332186
sumhungl0,

1. To elaborate on djpazza's first comment...
You can set up "Data Validation" in Excel to make sure that only certain types of data can be inputted.

2. <it always has inport errors, format or something. >
...We really can't help you much if you don't specfy your exact issues here.

3. <if i could automaticly do an update by task number. >
Can we agree that no one here can have any idea what this means without seeing the actual Excel File

JeffCoachman
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:sumhungl0
ID: 24353327
well, ok...

1. the excel file isnt mine so i would have to tell the boss to make the data validation happen, or just copy it when its time to update and do it myself.  would that data validation tell me what is wrong with the excel file?

2. ill have to try it again and see what it was.

3. the task number is an ID number for the job task which doesnt change and it is how i make sure updates get input.  i was just saying that it is a way to identify the task by number.  
0
 
LVL 9

Assisted Solution

by:djpazza
djpazza earned 333 total points
ID: 24353684
Could you post an example file?  edit it with some sample data for us to look at?
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 24358462
<would that data validation tell me what is wrong with the excel file?
>
No, put it will prevent subsequent errors.

As djpazza and I have suggested, ...Please post a sample.
0
 

Author Closing Comment

by:sumhungl0
ID: 31578977
ill have to work this issue when it comes time to update again.  thanks for the help, ill try to first fix the excel file.  thanks again.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question