Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add two fields into the row field of a pivot table?
Message
De
22/07/2005 06:06:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
How to add two fields into the row field of a pivot table?
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
01035044
Message ID:
01035044
Vues:
62
Hi all,

I want to add 2 fields(sex,emp_name) into the row field of a pivot table. I'm able to add in a field by using this code:
  WITH THISFORM._PIVOTTABLE
	.cAlias = ALIAS()
	.cDBCName = DBC()
	.cDBCTable = DBF()
	.cpivfldrow = ("sex")   <----------------------here                        
	.lHasColumnTotals = .T.
	.lHasRowTotals = .T.
	=ACOPY(aflds,.aAutoFields)
	=ACOPY(aFList,.aFldList)
	.MakeOutput()
  ENDWITH
But i can't add two fields into the pivot table, it always show error although i can visually in the excel. Can anybody tell me how to solve this?

Thanks.
Répondre
Fil
Voir

Click here to load this message in the networking platform