VCat88,
Good Day Thanks for the reply. I tried your code and I come up with an error 'OLE IDispatch exception code 20599 from cpecut32: Cannot Open SQL Server." Are you using SQL as Back End Database?
Skuhlman,
I already checked the site and I read an Article about "Integrating Crystal Reports with Visual Foxpro" and "Using Crystal Reports With VFP". There was an instructions like this.
Before using the CRAXDRT.DLL, you should register the component with Visual FoxPro’s Intellisense Manager. This will allow all the properties, methods, and events, to be selected using Intellsense. The following steps guide you through this registration process:
1.From the Visual FoxPro menu, select Tools | Intellisense Manager.
2.Select the “Types” tab.
3.Click “Type Libraries” to display the Type Library References dialog.
4.Select “Crystal Reports 8.5 ActiveX Designer Runtime Library” from the list. Make sure the check box next to the item is checked.
5.Click “Done” to return to the IntelliSense Manager
6.Click OK.
7.Test the IntelliSense settings. In the Command Window, type “MODIFY COMMAND Test” then press Enter
8.Type the following code into the editor window
LOCAL oCR AS CrystalRuntime.Application
oCR.
9.Notice that as soon as you press the . that IntelliSense will kick in and give you a list of PEMs from the Crystal Reports Application object.
10.Press Escape and answer Yes to the Discard Changes dialog.
Right now, im using Visual Foxpro 6 and Crystal Report 7 and SQLServer 2000 as may Back End Dbase. I can't find the IntelliSense Manager in Foxpro Menu. Do I need to upgrade the Visual Foxpro Version?
Thanks Again
Triplex