Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP equivalent to VB's '...= Array(
Message
 
To
19/04/2001 19:46:58
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00497650
Message ID:
00497791
Views:
8
>Hi All,
>
>What is the VFP equivalent to VB's array assignment to PivotTable COM object?
>
>E.g. (VB):
>
>thisform.PivotTable.ActiveView.FieldSets("Store").Fields("Store
>State").FilterMembers=Array("11","22").
>
>
>Is there any way to make it work?
>
>Thanks,

Andy,

VB's Array function returns a zero based array (unless OPTION BASE is set to 1, it's zero, however by default). Use the COMARRAY() function to specify how the VFP array is to be passed.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform