bonjours à tous
j'utilise delphi 7
dsl je suis débutant
je voudrais bien transformer ce code en requette sql avec un query
merci pour votre aide
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 Total := 0; With mdd.matable Do Begin First; While Not Eof Do Begin if mdd.matable.FieldByName('num_cp').AsString=edit2.Text then total:=total+FieldByName('mt_recharge').AsFloat; Next; End; End; monetat.QRLabel32.Caption:=floattostr(total);
Partager