'; drop table tab; --
select DISTINCT REF,text from tab F inner JOIN tab1 A ON A.REF = F.REF where A.LIBELLE_AF=''; drop table tab; --'
with Query do begin Close; With SQL do begin Clear; Add('select DISTINCT REF,text from tab F' ); Add('inner JOIN tab1 A ON A.REF = F.REF' ); Add('where A.LIBELLE_AF= :P_LIBELLE'); end; ParamByName('P_LIBELLE').Value := ComboBox.Text; Open; end;
4 mai 2015 à 15:23
le text du Combobox c'est un résultat d'une autre requête .
j'ai pas trouver la solution pour l'apostrophe sur le lien .