Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing arrays to Excel variant properties
Message
De
20/03/2004 08:10:12
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
19/03/2004 06:39:37
Norbert Kustra
SunSoft plus spol. s r.o.
Dolny Kubin, Slovaquie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00887487
Message ID:
00888188
Vues:
34
>I understand Refresh. I am not sure if I explained the problem correctly: I don't need update pivot data, I need update PivotCache DataSource property - replace the select command with another one, for example:
>Old value:
>SELECT * from TABLE1
>New value:
>SELECT * from TABLE2
>
>And I need keep all PivotTables layouts and formatting.
>
>BTW: SourceData property is read/write
>
>Thanks
> Norbert

You don't need to update data ??? Aren't you doing that when you update Datasource ?
With .ActiveWorkbook.PivotCaches(1)
  .CommandText = 'select * from Table2'
  .BackGroundQuery = .F.
  .Refresh
EndWith
PS: Yes sourcedata was readwrite, missed in help.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform