Exporting a Btrieve Table W/O an Existing Xtrieve FILE.DDF

---------------------------------------------------------------------
The information in this article applies to:
 
 - Microsoft Access version 1.0
---------------------------------------------------------------------
 
Summary:
 
The Microsoft Access user interface requires that the Xtrieve
dictionary file (FILE.DDF) exists before you can export a Btrieve
table. If FILE.DDF does not exist, the macro action Transfer
Database can be used to export the table.
 
More Information:
 
Multiple Btrieve tables can exist in Xtrieve databases just like
Microsoft Access can have multiple Tables. The dictionary FILE.DDF
describes the structure of the Xtrieve database.
 
The following example Macro can be used to transfer the Customers
Table in the sample database NWIND.MDB to a Btrieve Table named
Customers in an Xtrieve database named c:\access\btv00000.dat. This
Export occurs even if btv00000.dat does not exist as long as c:\access
is a valid directory.
 
   Macro Name      Action
   ------------------------------
   TransBtrieve    TransferDatabase
 
 
   TransferDatabase Action
   -----------------------
      Transfer Type: Export
      Database Type: Btrieve
      Database Name: c:\access\btv00000.dat
      Object Type: Table
      Source: Customers
      Destination: Customers
      Structure Only: No
 
   NOTE: THE DATABASE NAME CAN BE ANY COMPLETE FILE SPECIFICATION.
 
Microsoft Access will create the following 4 files if they do not
already exist:
 
   FILE.DDF
   INDEX.DDF
   FIELD.DDF
   BTV00000.DAT
 
Transferring more than one table will add data to the existing files,
but it will not create more files as long as the Database Name is not
changed.