473,385 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Steps to update Table from Excel Doc.

I've recenlty been tasked with updating a field in a table, Class Code,from an excel spread sheet. The Source is an Excel doc which has a duplicate column that holds the updated information. This Column needs to be merged with the field in the Class Code Tbl. There are blanks in Class Code Tbl. that need udating.

In my first attempt i imported the excel doc. into access. i then created query bringing in both tables and linking the two common columns. In an attempt to run it i received an error "Type mismatch in expression" I'm just learning alot so i may not be going about the process correctly. Pls. advise. Under deadlines and a learning curve.
Jan 24 '07 #1
2 1476
ADezii
8,834 Expert 8TB
I've recenlty been tasked with updating a field in a table, Class Code,from an excel spread sheet. The Source is an Excel doc which has a duplicate column that holds the updated information. This Column needs to be merged with the field in the Class Code Tbl. There are blanks in Class Code Tbl. that need udating.

In my first attempt i imported the excel doc. into access. i then created query bringing in both tables and linking the two common columns. In an attempt to run it i received an error "Type mismatch in expression" I'm just learning alot so i may not be going about the process correctly. Pls. advise. Under deadlines and a learning curve.
You may have Linked the 2 common Columns but they are not the same Data Type. e.g. You cannot Link an [ID]{Text} Column to an [ID]{Long Integer} Column. The Linked Fields must be of the same Data Type with the exception that an AutoNumber Field, which in reality is a Long Integer, can be linked to a Long Integer Field. Hope this solves your problem
Jan 25 '07 #2
NeoPa
32,556 Expert Mod 16PB
Can you post some example data.
Sometimes Excel can work in a 'Big Brotherish' way and make decisions on your behalf. ADezii's post should help you resolve the issue, but if you come across an example of Excel treating data in a way that's different from how you want it to then we may need to dig a little deeper.
Obviously, only post the data if you feel a need and you haven't been able to resolve the issue already.
Jan 25 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: M.sajjad | last post by:
Five Steps to Rapid Development with TierDeveloper 3.0 Unlock the power of rapid development when you use TierDeveloper from AlachiSoft in your N-Tier application development. Follow the steps...
12
by: jimserac | last post by:
I had previously posted this in an Access forum with negative results so will try here. Although this question specifies an Access database, I also wish to accomplish this with a large MS SQL...
0
by: M.sajjad | last post by:
Five Steps to Rapid Development with TierDeveloper 3.0 Unlock the power of rapid development when you use TierDeveloper from AlachiSoft in your N-Tier application development. Follow the steps...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.