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
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