Solved

using transferdatabase method in vba to link dbase IV table

Posted on 2006-11-09
6
487 Views
Last Modified: 2013-11-24
How to use DoCmd.Transferdatabase to link DBase IV database (c:\stubase.dbf)?
0
Comment
Question by:motech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

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…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
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 …

732 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