473,569 Members | 3,043 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

updating tables from external links

I work for a company where I do quality assurance. We get a
spreadsheet every week of the curent employees where I work. What I
need to do is import this spreadsheet every week and update my
tables.
Access will not allow me to create good relationships between other
tables and the linked table. Also, if I import the table it works
fine; however, the second time I import into the same table it gives
me a non-descript error message.
Basically, I don't know anything about how to manage the linked data.
I also need to make sure that if data is deleted from the spreasheet
that it is _not_ deleted from our database. Employees may leave our
company but we still need to retain their records in our database. My
_main_ concern is: how do I get this linked data to tables that I can
actually work with and create relationships with. I'm just a noob with
Access so I'm probably missing some crucial but simple piece of
information. I'm bascally looking for information on how people
generally handle linked spreadsheets.
~James
Dec 11 '07 #1
2 1694
On Tue, 11 Dec 2007 13:36:11 -0800 (PST), majortool
<ma*******@gmai l.comwrote:

One of your requirements is:
I also need to make sure that if data is deleted from the spreasheet
that it is _not_ deleted from our database
Given that, it is not possible to use links to spreadsheets since
these spreadsheets can be modified without your app knowing about it.
The good part is that you don't need to know about linking.
Rather you would have to know about importing, and get on top of that
"non-descript" error. Post a new message with that error, and perhaps
we can make it a bit more descriptive to you.
OBVIOUSLY you cannot import the same data twice. That would
(hopefully) violate all kinds of unique indexes.

-Tom.
>I work for a company where I do quality assurance. We get a
spreadsheet every week of the curent employees where I work. What I
need to do is import this spreadsheet every week and update my
tables.
Access will not allow me to create good relationships between other
tables and the linked table. Also, if I import the table it works
fine; however, the second time I import into the same table it gives
me a non-descript error message.
Basically, I don't know anything about how to manage the linked data.
I also need to make sure that if data is deleted from the spreasheet
that it is _not_ deleted from our database. Employees may leave our
company but we still need to retain their records in our database. My
_main_ concern is: how do I get this linked data to tables that I can
actually work with and create relationships with. I'm just a noob with
Access so I'm probably missing some crucial but simple piece of
information. I'm bascally looking for information on how people
generally handle linked spreadsheets.
~James
Dec 12 '07 #2
I was hoping that it would update when I imported it again. Ninety
per cent of the employees will be the same. I'll need it to overwrite
data in the table or not even take duplicate data at all.
I was thinking: what if I could use an update query to update new
fields. I don't even know if that's possible let alone how to even
get started on that. I do know a bit about VBA. I'm gonna look into
manipulating linked sheets with VBA.
~James
Dec 12 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3630
by: Mike Smith | last post by:
Hi Folks, I've been doing some research in this group and on the web but can't seem to find the one clue that I'm looking for. I have an ASP Page and need to join 2 tables from 2 different Access databases. I can explain why 2 databases but it would just make this a longer post so please just trust me. I've gotten the following code...
0
1439
by: MARK TURNER | last post by:
Hi, Can anyone point me in the right direction to learn how to get real time updates in an Access form from an Excel spreadsheet? I'm trying to link the following formula which exists in an Excel spreadsheet and works perfectly to an Access form. It's just like a checkbook register. C2=(C1-A2+B2)
3
1302
by: Doug | last post by:
Scenario: I select data from a SQL Server View which links 3 tables, into a single dataset table. I update some of those fields on a web form. When I want to update the db, clearly I can't update via a View - makes perfect sense. But because I used a View, I can't use the CommandBuilder. I have to specify my own Commands which will in some...
4
2365
by: Geoff | last post by:
Hi I'm hoping somebody can help me with the following problem that has occurred to me. Suppose I have two tables in an SQL Server database. Let's call these tables A and B. Assume that A has two fields: a primary key and another holding a string. In table B there are three fields: a primary key, a foreign key (which links to the primary...
5
2061
by: aaron.m.johnson | last post by:
I have an application which contains an Access database with linked tables that point to another database within the application. The problem I have is that when the user installs the application, I need to update the table links so that the paths are correct for the install directory. Is there an easy way to accomplish this? I'd really...
4
3331
by: somanyusernamesaretakenal | last post by:
What I am trying to achieve: Basically I have generated a report in access. This report needs to be updated using excel. (Updating the new data, not changing existing data) What I did was I imported the existing report into Excel (Tools – Office Links – Analyze It with MS Excel). Then I linked the report to the Excel file. (File – Get...
1
2491
by: weird0 | last post by:
How can i update the data in my database directly through datagridview....? Can anyone tell me the appropriate links and what is the exact event in datagridview that handles it and some explanation abut how to handle it. what does ds.Tables...ds.Tables return by the way? What does it mean? DatagridView.DataSource=ds.Tables; // one of the...
5
2347
by: edwardwill | last post by:
My client has a mission-critical application that was written in Microsoft Access sitting on a SQL Server database. It is basically a Quotation management system. The client wishes to install CRM and I'm investigating how to migrate the Customer data from their Quotation system to CRM. I'm pretty confident I can do this without too much...
20
4296
by: OldBirdman | last post by:
I have 2 computers: #1 Desktop - Windows XP & Office 2000 #2 Laptop - Windows Vista & Office 2003 Laptop is NEW, and the hard-drive is partitioned C:\ and D:\ from factory, with Vista and ProgramFiles on C:\ and data on D:\ My Access programs share tables. If I change anything in the program (Front-end) on one computer, I don't know how to...
0
7619
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8138
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7681
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6290
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5228
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.