473,486 Members | 2,117 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Import Excel to Access and update the respective db fields with the excel value

26 New Member
Hi,

I am exporting a table with data to an excel file.. Some fields are empty in the exported file while the others and the key field, has values.

The empty field(s) in excel, will be entered with values by another department.

I require to update the access db from the updated excel fields to the respective fields in the database..

While using import from the file menu, I see that the information is append the table..

With link to excel, I see the data is still in the excel..

I want the key fields in the excel and the db table to match and do the update to the respective fields in the access table..

Pls assist.

Thanks & Regards,
Ruth.
Sep 25 '06 #1
2 7132
PEB
1,418 Recognized Expert Top Contributor
Hi Ruth,

You have the right direction!

You do a Link to the respective Excel file and then u go in query designer
There you choose the table u want to update and your Excel file

Maybe u have a key and the link must be on this key

From query u choose update query

Dbl click on your Field that u want to update
In the row Update to type the name of your Excel Field but with
[] between

:)

Best regards
Sep 25 '06 #2
ruthboaz
26 New Member
Hi,

Thank You for the help.
Just to the dot, PEB.

Best Regards,
Ruth.


Hi Ruth,

You have the right direction!

You do a Link to the respective Excel file and then u go in query designer
There you choose the table u want to update and your Excel file

Maybe u have a key and the link must be on this key

From query u choose update query

Dbl click on your Field that u want to update
In the row Update to type the name of your Excel Field but with
[] between

:)

Best regards
Sep 25 '06 #3

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

Similar topics

12
22907
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...
5
11541
by: Johnny Meredith | last post by:
I have seven huge fixed width text file that I need to import to Access. They contain headers, subtotals, etc. that are not needed. There is also some corrupt data that we know about and can...
11
4024
by: Mr. Smith | last post by:
Hello all, My code can successfully open, write to, format and save several worksheets in a workbook then save it by a given name, close and quit excel. My problem is that if I try and do it...
2
2252
by: Danny | last post by:
I was trying to tihnk of solutions to the table in access being out of order when i use: DoCmd.TransferSpreadsheet in code to import an excel file. 1. I could read the excel file from access....
11
5744
by: bbasberg | last post by:
Hello, I have been struggling with this problem for DAYS and have googled my heart out as well as reading any books I could get my hands on but I cannot find any specific references to my problem....
2
2323
by: bbasberg | last post by:
I have been working hard to clean up my code but I am still wondering why all incoming records go to the "AddNew" part of the IF statement and never to the Edit alternative. I believe that it must be...
0
18250
MMcCarthy
by: MMcCarthy | last post by:
This is a module that imports information to a Query or a Table from comma separated values file in a text format! It is very helpful for getting information from other applications and from files! ...
1
8694
by: baling | last post by:
Hi.... Hi everybody, i have a code that i make in VBA and know I want to use this code in to VB6. But i don't know how to use that code in to VB 6.0 Please correct this code so i can use it in VB...
7
12033
by: TG | last post by:
hi! I am trying to create a sql server table from an excel sheet. Here is the code I have: 'This procedure the xlsx file and dumps it to a table in SQL Server
0
7100
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7126
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7175
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...
1
4865
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3070
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.