[Delphi 7- ADO]
Bonsoir,
Je voudrais savoir pourquoi les méthodes(Next,prior et autres) ne fonctionnent pas pour des tables liées?
voici le code:
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 procedure TForm1.Button1Click(Sender: TObject); begin while not ADOTable1.Eof do begin while ADOTable2Champ1.Value=ADOTable1Champ1.Value do begin while ADOTable3Champ2.Value = ADOTable2Champ2.Value do begin ADOTable3.Next; Label1.Caption:=IntToStr(ADOTable3.RecNo); end; ADOTAble2.Next; end; ADOTAble1.Next end; end;
Partager