Probeer dit idee
In de rapportkopbal voeg een formule toe om de variabelen te verklaren
WhilePrintingRecords;
Globale NumberVar LaborTotal;
Globale NumberVar MaterialTotal;
Globale NumberVar Class3Total;
Globale NumberVar Class4Total;
Globale NumberVar Class5Total;
Globale NumberVar Class6Total;
Globale NumberVar Class7Total;
Globale NumberVar Class8Total;
Globale NumberVar Class9Total;
''
In de groepskopbal (groep 2)
WhilePrintingRecords;
Globale NumberVar LaborTotal;
Globale NumberVar MaterialTotal;
Globale NumberVar Class3Total;
Globale NumberVar Class4Total;
Globale NumberVar Class5Total;
Globale NumberVar Class6Total;
Globale NumberVar Class7Total;
Globale NumberVar Class8Total;
Globale NumberVar Class9Total;
LaborTotal: = 0;
MaterialTotal: = 0;
Class3Total: = 0;
Class4Total: = 0;
Class5Total: = 0;
Class6Total: = 0;
Class7Total: = 0;
Class8Total: = 0;
Class9Total: = 0;
''
In de detailsectie
WhilePrintingRecords;
Globale NumberVar LaborTotal;
Globale NumberVar MaterialTotal;
Globale NumberVar Class3Total;
Globale NumberVar Class4Total;
Globale NumberVar Class5Total;
Globale NumberVar Class6Total;
Globale NumberVar Class7Total;
Globale NumberVar Class8Total;
Globale NumberVar Class9Total;
Indien Weggegaan ({mijn-lijst. Verkoop -verkoop-acct}, 4) = „4500“ toen
LaborTotal: = LaborTotal + (qty * prijs)
Indien anders Weggegaan ({mijn-lijst. Verkoop -verkoop-acct}, 4) = „4505“ toen
MaterialTotal: = MaterialTotal + (qty * prijs)
Indien anders Weggegaan ({mijn-lijst. Verkoop -verkoop-acct}, 4) = „NextClass“ toen
Class3Total: = Class3Total + (qty * prijs)
Anders enz. voor elke klasse
Om dan in groepsfooter (1 formule voor elk totaal) te tonen
WhilePrintingRecords;
Globale NumberVar LaborTotal;
LaborTotal
mlmcc