RE: Import Data from Csv AND set relationships
- From: Alan <Alan@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 5 Jul 2007 10:34:01 -0700
Dave
Thanks for the update and I think I have the jist of what you are suggesting
I do, however for the dim and slow of thinking (Im Scottish) can you please
confirm:
I create the Table as Normal using the Import Mechanism within Access and
then use the TableAnalyser to set the relationships ?
I then create a link to the external data (updated table) ?
I then remove the data within the table and write an append query to update
the information from the linked information ?
And this will automatically update all the links ??
As an aside I have two columns in my table one called 'Home Office' and
another called 'Current Office' as staff can be transferred regularily. Both
these columns contain the same data set. Can I have both colums relating to
the same data set ??
--
Thank you for your time and all your help
Regards
Alan
"Klatuu" wrote:
If I understand correctly, you were pretty much on the right tract. I would.
suggest you create the table and establish the relationships. The if you
need to import into this table, link to the external data rather than import
it, then use either/and/or an append and an update query to move the data
from the linked table to the Access table. Then just drop the link. You do
that with the DeleteObject method.
--
Dave Hargis, Microsoft Access MVP
"Alan" wrote:
Hello All
I have a database that imports details of employees on a daily basis. These
employees share a number of repetitive and Common attributes such as OFFICE /
DEPT / GRADE and afew others. This table is not unique as I have a number of
other tables that have similar fields
I have run for some time by deleting the contents of the table and updating
the employee information daily, however as I try to learn more have thought
about making the database relational and creating releations to the aspects
above.
Can someone point me in the direction for the code that is required to
reinfore and update the references ... the acImport aspect is relatively
straight forward ... however I am not to sure about creating the
relationships, initially performed throught the Table Analyzer (Table aspects
selected by myself)
If this is a daft idea, please tell me and I can probably live what I have,
although everything I read suggests this other option is a tidier way to
manage the data
Many thanks for your help in advance
--
Alan
- Follow-Ups:
- RE: Import Data from Csv AND set relationships
- From: Klatuu
- RE: Import Data from Csv AND set relationships
- Prev by Date: Re: Version 2.0 database - linking.
- Next by Date: RE: Import Data from Csv AND set relationships
- Previous by thread: ISAM file opening error
- Next by thread: RE: Import Data from Csv AND set relationships
- Index(es):
Relevant Pages
|