Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-30-2008, 06:23 AM
Junior Member
 
Join Date: Oct 2007
Posts: 6
iTrader: (0)
Juggler is on a distinguished road
Default Regarding a macro using TransferDatabase

I have created a Macro which loads a table using the TransferDatabase method and it works fine. But, when I run the Macro, a DBF file is grabbed and loaded into in Access table and then an append query loads the final table. What I want to know is, can I set it up so it prompts the user to select the source file, I need to load this file regularly and the file name changes.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-31-2008, 06:42 AM
Member
 
Join Date: Oct 2007
Posts: 41
iTrader: (0)
TonyES is on a distinguished road
Default

Convert your macro to VBA and then have a look at the InputBox function or the FileDialog object.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-31-2008, 10:58 PM
Junior Member
 
Join Date: Oct 2007
Posts: 6
iTrader: (0)
Juggler is on a distinguished road
Default

Great, thanks for the help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 03:49 AM.