Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use Crystal Com Object in Visual Foxpro 8

Status
Not open for further replies.

VFPIt

IS-IT--Management
Jul 8, 2002
8
US
I was using Crystal Reports 8.5 with Visual Foxpro 7.0 and was accessing cursors prepared in Visual FoxPro 7.0 in Crystal Reports. It was working fine as I was using the following line of code to send Array

objCrData.AddRows(@getData)

WHERE:eek:bjCrData is
CreateObject("CrystalDataObject.CrystalComObject")

getData is the array with data

Now, I have switched to Visual FoxPro 8.0 and this line of code is giving me an error saying that :

The class file (COMBO1) associated with this field cannot be found - Class association cleared

Please advise how to send this array of data to crystal Reports.

Thankyou
 
I don't know why you're getting the error. I'm also not sure why you are using Crystal Data Objects, as there are MUCH easier ways to integrate Crystal Reports. You may want to look at the articles on my web site to get you started with the RDC.

Craig Berntson
MCSD, Visual FoxPro MVP, Author, CrysDev: A Developer's Guide to Integrating Crystal Reports"
 
I need to access cursors off of crystal reports. The method I am using is that I have Active Data setup in the form of a TTX file. At runtime I need to put in the data from this array to the report. This TTX File and the cursor should have same data structure and crystal reports works fine with Visual Foxpro 7.0.

Now! I am getting this error in visual foxpro 8

I am sure you have a better way of handling my problem. Please give me a hit. I will really appreciate your help.


Thankyou
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top