Solved

Excel info to access

Posted on 2014-03-10
1
282 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now