PC Review


Reply
Thread Tools Rate Thread

automatically import file

 
 
SageOne
Guest
Posts: n/a
 
      11th Nov 2009
is there a way in access 2003 to have the database import a file (refresh a
table) at the same time everyday with out having to touch the database.

For example, go out and grab a .txt file and import it, have it replace a
current table everyday at 9am. Keep in mind I will not be there to open or
close the database.
 
Reply With Quote
 
 
 
 
Steve Schapel
Guest
Posts: n/a
 
      11th Nov 2009
Sage,

Yes. You can make a macro to do the import, using a TransferText action,
and then possibly some other actions such as OpenQuery to move the imported
data around.

Then, you can use Windows Task Manager, or some third party scheduling
utility, to make it happen. The Command Line for the scheduler will follow
this syntax:
"C:\Program Files\...\Msaccess.exe" "C:\YourFolder\YourDatabase.mdb" /x
NameOfMacro

--
Steve Schapel, Microsoft Access MVP


"SageOne" <(E-Mail Removed)> wrote in message
news:FD537CDA-F20D-4405-9705-(E-Mail Removed)...
> is there a way in access 2003 to have the database import a file (refresh
> a
> table) at the same time everyday with out having to touch the database.
>
> For example, go out and grab a .txt file and import it, have it replace a
> current table everyday at 9am. Keep in mind I will not be there to open
> or
> close the database.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically Import a .BAS file/module phdbd Microsoft Excel Discussion 2 15th Mar 2009 01:19 AM
Import file automatically =?Utf-8?B?Y2NsYXliMDM=?= Microsoft Access External Data 1 29th Sep 2007 12:47 AM
How do I automatically import a file that changes name ea. day =?Utf-8?B?UGVubnlE?= Microsoft Access External Data 1 3rd Jul 2006 09:20 PM
import data from .csv file automatically =?Utf-8?B?Z2VlYmVl?= Microsoft Access Form Coding 2 1st Mar 2006 10:26 PM
How to automatically import file to access Jukka58 Microsoft Access Macros 1 24th Aug 2004 12:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:16 PM.