Quote:
>I was able to access local databases (.mdb, .dbf) using either
>MSAccess or VB with no problem. However getting access into btrieve
>(.ddf) databases was not so straight forward. First it requires
>WBTRCALL.dll and WBTRVRES.dll, which I put into /windows. Now when I
>try to import/attach a FILE.ddf into Access or VB I keep getting the
>following message-
> 'Unexpected error from external database driver (20)'
I believe the (20) = Record Manager Inactive, see your Btrieve docs.
I'm going to assume you're using Win 3.X:
Move WBTRCALL.DLL and WBTRVRES.DLL to \WINDOWS\SYSTEM.
Make sure the following lines are in your WIN.INI;
[btrieve]
Options=/m:64 /p:4096 /b:16 /f:20 /l:40 /n:12 /t:D:\VB3\BTRIEVE.TRN
Note: The option /t:D:\VB3\BTRIEVE.TRN must point to valid path and
transaction file on your system.
That should do it.
Frank Mokry