Solved

Excel info to access

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
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…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

759 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

20 Experts available now in Live!

Get 1:1 Help Now