Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
delete(a,3,3);
        val(a,clientz,e);
        if clientz = 97 then
            total97 := total97 + prixtotal;
        if clientz = 98 then
            total98 := total98 + prixtotal;
        if clientz = 99 then
            total99 := total99 + prixtotal;
        if clientz = 00 then
            total00 := total00 + prixtotal;
        if clientz = 01 then
            total01 := total01 + prixtotal;
        if clientz = 02 then
            total02 := total02 + prixtotal;
        if clientz = 03 then
            total03 := total03 + prixtotal;
        if clientz = 04 then
            total04 := total04 + prixtotal;
        if clientz = 05 then
            total05 := total05 + prixtotal;
        if clientz = 06 then
            total06 := total06 + prixtotal;
        else
            totalautre := totalautre + prixtotal ;
j'aimerais que le else de la fin , mettre toute autre clientz qui negale pas ceux que j'ai mis mettre le prixtotal dans totalautre mais ca calcule toutes les total de toute les années comment corriger ca??