Solved

using transferdatabase method in vba to link dbase IV table

Posted on 2006-11-09
6
466 Views
Last Modified: 2013-11-24
How to use DoCmd.Transferdatabase to link DBase IV database (c:\stubase.dbf)?
0
Comment
Question by:motech
6 Comments
 
LVL 119

Expert Comment

by:Rey Obrero
Comment Utility
see if this link helps
How to use dBASE data with Access and Jet
http://support.microsoft.com/kb/230125
0
 
LVL 54

Expert Comment

by:nico5038
Comment Utility
Linking to a database in normally done by linking table(s) using ODBC.
Why do you want to use the DoCmd.Transferdatabase statement for this objective ?

Nic;o)
0
 

Author Comment

by:motech
Comment Utility
Thank you for replying. I used the following line of code to fix the problem.

DoCmd.TransferDatabase acLink, "DBase IV", FolderPath, acTable, DatabaseNameWithExtension, TableNameInAccess
   
0
 
LVL 54

Expert Comment

by:nico5038
Comment Utility
Hmm, learning something new :-)
I only used this command to create a new database with copied tables and for linking tables I use the TableDef object and the .connect property followed by a .refreshlink method.

Please ask in CS a moderator to close this question as being answered by you.

Success !

Nic;o)
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
Comment Utility
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

771 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

10 Experts available now in Live!

Get 1:1 Help Now