Solved

using transferdatabase method in vba to link dbase IV table

Posted on 2006-11-09
6
486 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 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 17908082
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
ID: 17908112
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
ID: 17921821
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
ID: 17922799
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
ID: 18260784
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

740 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