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!

Crystal Reports COM Object

Status
Not open for further replies.

VFPIt

IS-IT--Management
Jul 8, 2002
8
US
I placed a question on this forum which was not answered but finally I have solved the problem.

Question was : While using data com object in visual foxpro 8.0 of Crystal Reports I was getting an error saying class definition cleared. I was running same code in 7.0 and it was fine but now it is not.

Solution: I had to define array before I run a SQL Command like :
SELECT * FROM {table} INTO ARRAY laData

If I dont define the array it gives me errors.

Now I have been able to solve the problem but cannot explain this. Can someone help me explain WHY THIS IS HAPPENING in visual foxpro 8.0

Thankyou
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top