I am writing an application that uses the ActiveX
Crystal Report control.
At runtime, it simply populates a listbox with all the crystal reports in a
particular directory. When a report is selected, the ReportFileName
property is filled with the apporpriate report name and the cr.PrintReport
function is called.
The reports that I am attempting to open are based on Foxpro 3.0 free tables
using the Visual Foxpro ODBC drivers. The data displays fine in Crystal,
however when I attempt to display the report using the VB app, I have
trapped a runtime 20599 error message.
What do I need to do to resolve this error? I assume it has something to do
with ODBC drivers. I have MDAC 2.6 sp1 and jet4.0 sp3 installed on my
machine.
Thanks in advance for any help you can provide.