Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
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
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement