ACC2: How to Use Btrieve with Microsoft Access 2.0ID: Q157036
|
Moderate: Requires basic coding, and interoperability skills.
The following article describes how to use Microsoft Access version 2.0 to
work with Btrieve data files, using Btrieve for Windows or Btrieve for
NetWare.
To enable Microsoft Access version 2.0 to work with Btrieve data files,
make sure the following are true:
File Name Size Location Supplier of file
---------------------------------------------------------------
WBTRCALL.DLL 51K C:\Windows 3rd party
NOVDB.INI Varies " BTI
WIN.INI. Varies " Microsoft Access
BTRV200.DLL 109K C:\Windows\System MS Service Pack
File Name Size Location Supplier of file
---------------------------------------------------------------
WBTRCALL.DLL 13K C:\Windows BTI
WBTRVRES.DLL 22K " BTI
WBTRLOCL.DLL 51k " BTI
BTRV200.DLL 109K C:\Windows\System MS Svc Pack 2.0
NOVDB.INI varies " BTI.
WIN.INI. varies " Microsoft Access
File Name Size Location Supplier of file
--------------------------------------------------------------
WBTRCALL.DLL 16K C:\Windows\System BTI
BTRV200.DLL 109K " MS Svc Pack 2.0
WBTRLOCL.DLL 14K/17K C:\Windows\System BTI
WBTRVRES.dll 22K " BTI
WBTR32.EXE BTI
BTI.INI varies " BTI.
WIN.INI. varies " Microsoft Access
Example of NOVDB.INI
--------------------
[Btrieve]
*****************************************
*Windows Btrieve initialization values *
*****************************************
options=/m:64/p:4096/b:16/f:20/l:40/n:12 /t:C:\ACCESS\BTRIEVE.TRN
tasks=10 ;maximum tasks (max=255)
tracefile=c:\btrtrace.out ;create a Btrieve trace file
traceops=0 1 19 20 21 ;specify operations to list in the trace
[brequestDPMI]
*****************************************
* Windows Btrieve interface to BREQUEST *
*****************************************
tasks=10 ;maximum tasks (max=255)
freememory=No ;allocate/free real DOS memory on each operation
local=Yes ;allow access to Client-Only Btrieve DLL
Example of WIN.INI
------------------
If the WIN.INI file contains a [Btrieve] section when you install
Microsoft Access, then it adds a line called Access_Options with
the appropriate settings. If no [Btrieve] section exists, then the
Microsoft Access Setup program adds the section and includes the
required Options line, for example:
[Btrieve]
options=/m:64/p:4096/b:16/f:20/l:40/n:12 /t:C:\WINDOWS\BTRIEVE.TRN
When you import, export or attach Btrieve files, Microsoft Access
checks the [Btrieve] section of the WIN.INI for an Options line that
meets the following criteria:
/m must be > 48
/l must be at least double the /f setting
/p must be 4096
/n must be > 0
/t must point to a valid subdirectory (the file need not exist)
/u is optional and is only used for compressed Btrieve files.
NOTE: You must know the compression ratio of your compressed Btrieve
files in order to use the /u setting to connect to a compressed
Btrieve data file.
Btrieve versions 6.10 and later do not use the Options line in the
WIN.INI, but Microsoft Access requires it.
Example of BTI.INI
------------------
[Btrieve]
Tasks=30
Local=No
Requester=Yes
Thunk=Yes
Verbose=0
Chkparms=No
[Btrieve Client]
Options=/f:20 /h:60 /l:20 /t:15 /m:512 /u:0 Trnfile=C:\WIN95
Desktopicon=No
SharingOnLocalFiles=SingleEngine
SharingOnRemoteFiles=MultiEngine
EnableSharingBias=Yes
Tracefile=
DeleteLockFile=Yes
[Btrieve Requester]
Runtime Server Support=yes
Datalength=4096
For more information about Btrieve settings, refer to the ACREADME.HLP file in the Access subdirectory.
Keywords : kb3rdparty IsmBtrv
Version : 2.0
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: April 17, 1999