importing text files
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Importing 2 text files into Access

Importing 2 text files into Access

resolvedResolved · Urgent Priority · Version 2007

replyReply Thu 7 Jul 2011, 10:48Delegate Mairead said...

Mairead has attended:
Access Intermediate course

Importing 2 text files into Access

From a given scenario, I have been given 2 text files to import. However, I need to have 4 tables created. I have tried to use an append query to create the other 2 tables however it is not letting me do this. I have tried to use a Make Table query which works but wont let me set primary keys saying to change duplicates. Append query isnt working either!I really really need help on this!

For upcoming training course dates see: Pricing & availability

replyReply Fri 8 Jul 2011, 11:26Trainer Stephen said...

RE: Importing 2 text files into Access

Hi Mairead

Thanks for your question

The make table query is probably the way to go.

Initially I would choose the wizard option not to set a primary key. The problem is that the field you are choosing contains duplicate values and thus the process falls over.

Once the data is in the table you can change the design in design view. If no field contains unique values, then you could always add an autonumber field and make this the primary key.

If this doesn't work, please let me know and I will get back to you

Regards

Stephen

Thu 14 Jul 2011: Automatically marked as resolved.

 

Please browse our web site to find out more about
microsoft access courses in london and other Microsoft training courses.

Access tip:

Combo box for finding records

You can use a combo box in a form to look up a record. If you place the comb box in the Form header, by then selcting they a field type from the drop down loist, you will see the record for it

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard