Solved

Import file to Access 2002 database through a form interface.

Posted on 2011-03-25
2
216 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
2 Comments
 
LVL 119

Accepted Solution

by:
Rey Obrero 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now