A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Importing data by a user



 
 
Thread Tools Display Modes
  #1  
Old June 17th, 2005, 07:03 AM
Alex Martinez
external usenet poster
 
Posts: n/a
Default Importing data by a user

I am wondering if someone can give me an elegant solution regarding
importing data. I am getting daily CVS files that I would like to import
into Access 2000. I already have the table setup with the fields already
name (i.e. policy number, insured, etc.) The problem is when I do an import
the fields are in a different name (i.e. a, b, c, d, etc.). I don't want to
rename the fields, data type over again. I just want to import and append
the table. Now here is the tricky part, I need it to be user friendly,
because the users are not familar with Access. Any advice or directions I
will appreciated. Thank you.



  #2  
Old June 17th, 2005, 07:21 AM
Allen Browne
external usenet poster
 
Posts: n/a
Default

If you are quite sure the data will be valid (always the right number of
fields, order, consistent names, right data types, no duplicates, within any
validation rules, etc.), you could just attach the text file, and use an
Append query to map the fields to the fields of your main table.

In practice, you generally need to import into a table that has largely
untyped fields (text), run all the validation checks, identify the foreign
keys to associate the records with and so on. Once that's all right, use an
Append query to copy the data into the real table, and empty out the temp
table. And you probably need a log that creates a batch for each group, so
you can undo (delete all records in a batch), and also prevent the same file
from being imported twice.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Alex Martinez" wrote in message
...
I am wondering if someone can give me an elegant solution regarding
importing data. I am getting daily CVS files that I would like to import
into Access 2000. I already have the table setup with the fields already
name (i.e. policy number, insured, etc.) The problem is when I do an
import the fields are in a different name (i.e. a, b, c, d, etc.). I don't
want to rename the fields, data type over again. I just want to import and
append the table. Now here is the tricky part, I need it to be user
friendly, because the users are not familar with Access. Any advice or
directions I will appreciated. Thank you.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple docs, one data source kp Mailmerge 12 January 31st, 2005 04:41 PM
Rapid input Via datasheet RudyR_Seattle General Discussion 4 January 31st, 2005 01:33 AM
How do I get 3 series in sync with the x-axis? zizbird Charts and Charting 10 October 25th, 2004 01:23 PM
VBA Code problem error 9 Speedy General Discussion 19 October 15th, 2004 09:05 PM
Is this possible with Excel Chart? q582gmzhi Charts and Charting 1 September 8th, 2004 03:33 AM


All times are GMT +1. The time now is 06:52 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.