Btrieve Error 22 - Data buffer length
Btrieve Error 22 - Data buffer length
(OP)
I have written a Visual Basic 5 program that uses a Crystal Reports 8.5 Report Viewer object to view reports off an application that uses a Btrieve database. Crystal Reports (CR) is connected to Btrieve in native mode using MKDE 6.15. It all works fine on my computers running W2K and Win Me. When I try to view a report on my customer's W2K system, I get "Btrieve Error 22 - Data Buffer Length" when the report is about to be previewed on the screen. The CR viewer appears with a blank preview window and the displays the Error 22 message box. What could be causing this error message? I've checked Crystal Decision's and Pervasive's web sites already.
Thanks
Thanks
RE: Btrieve Error 22 - Data buffer length
RE: Btrieve Error 22 - Data buffer length
I checked my system for a BTI.INI file and I don't have one. Do I need to create one? What section(s) and settings should be in it? (I know very little about Btrieve.)
In my WIN.INI file there is a Btrieve entry that reads: "Options=/m:40 /p:4096 /f:16 /l:20 /t:btrieve.trn". Which of these parameters is the buffer size?
I will check my customer's system to see how it is set up. Are there Registry settings I need to look at?
Thanks in advance for your help.
RE: Btrieve Error 22 - Data buffer length
The win.ini file was only used the for 5.x windows wbtrcall.dll file. The bti.ini file is used by 6.x windows drivers. But if you are running the btrieve 6.15 32-bit you should have a setup program that writes the data to the registry.
Gil
Gil