Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted by sdadsa ( 12 years ago )
Procedure RevenusMois()

Déclarer MoisCourant en tant qu'entier
Déclarer MoisPrécédent en tant qu'entier

MoisCourant = Aujourd'hui (Mois)
MoisPrécédent = MoisCourant - 1

Si MoisPrécédent = 0 alors
  MoisPrécédent = 12

Tant que le 2e argument de la colonne date est = à MoisPrécédent faire
  Somme(Colonne Total)
  Somme(Colonne Tps)
  Somme(Colonne TVQ)
  Somme(Total)

 

Revise this Paste

Parent: 71477
Your Name: Code Language: