Solved

Import file to Access 2002 database through a form interface.

Posted on 2011-03-25
2
255 Views
Last Modified: 2012-08-14
Using a form, I would like the user to be able to import a file into an existing table.  I usually hard code the import from a set location / file name, but this time I thought I would give a different method a try and see how it works out.  I don't really want the user to get into the db to use the import function but thought I could put something on a form for them to naviagte through windows explorer to find the file they want to load.

I'll be importing two types of files (not into the same tables).  1 will be a .xls and the other a .txt (delimitted by seperated by | ).
0
Comment
Question by:vsllc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 35215441
test this sample db to locate and select the file
place your import codes in the click event of the Import button

ImportFileBrowser.mdb
0
 

Author Comment

by:vsllc
ID: 35380427
thanks!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

737 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