Solved

Excel info to access

Posted on 2014-03-10
1
288 Views
Last Modified: 2014-03-25
I would like to build something that will take information from excel into Access.

My excel sheet will have one column of "BookingNumbers". I have an access table that has "BooingNumber" as the primary identifier.  It also has a "Yes/No" field called "Finished" on that table.

If the "BookingNumber" is listed in the excel column. I want the Access table to change the "Finish" value to "Yes".

I will be doing this multiple times a day, so I'd like it to be relatively quick and accurate. Any ideas?
0
Comment
Question by:cansevin
1 Comment
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 39919203
The simplest way would be to link the Excel sheet to Access, and then create an Update query to handle the changes. Without knowing your structure it's hard to give focused advice, but in general it would be something like:

UPDATE LocalTable SET Finish='YES' WHERE BookingNumber IN (SELECT BookingNumber FROM YourLinkTAble)

You could also use an INNER JOIN on those tables, if the datatypes all match up.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

792 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