General information
Category:
COM/DCOM and OLE Automation
Title:
Pivot Table Crashes Foxpro
Hi All
Im using Pivot Table Control, Which i got with Office 2000
When I use this control with Vfp. With out any code
it works fine
but when i attach fields programtically in its INIT Event
it crashes Foxpro, My code is
ConnectionString = "dsn='Foxpro Files;DefaultDir=C:\Project"
ilHandle=SqlStringConect(ConnectionString)
ThisForm.Pivottable.CommandText = "Select * From Invoice"
olView = ThisForm.Pivottable.ActivcView
olView.ColumnAixis(olView.FieldSets("Customer"))
it Hangs at this line every time
Please Tell Whats Wrong With my Code
TIA
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only