Requête SELECT pour Combobox
Bonjour tout le monde,
Jessaye d'appliquer une requete SELECT pour selectionner une partie d'attributs d'une table mais ne je n'y arrive pas
J'aimerai que dans un combobox avoir tous les 'designation' ayant 'caractere' ='cotisation' (designation et caractere sont des attribut de la meme table)
ce que je fais mais ça ne marche pas :
Code:
1 2 3 4 5 6 7 8 9
| begin
Adotable2.open ;
Adotable2.First;
while not Adotable2.Eof do
Begin
combobox1.Items:= (select 'Designation_cot' from Adotable2 where Caractere_rubrique='Cotisation');
Adotable2.Next;
End;
end; |