Re: WB12 : Requete multifichier => Problème !

Posté par david le 7/8/2008 16:56:35
D'après les premiers tests se seraient dans ce style là :

SELECT
Doc.Nodoc AS Nodoc,
Doc.titre AS titre,
Doc.sstitre AS sstitre,
Collec.Collection AS Collection
FROM
Collec RIGHT OUTER JOIN Doc ON Doc.nocolle = Collec.IDCollec
WHERE
Collec.Collection LIKE %{cColl}% AND Collec.IDColl<>0
OR Doc.titre LIKE %{cTitre}%

Cependant j'ai un autre problème quand je vais encore plus loin avec un double relation (cf. analyse).

Là ça se gate et je tourne en rond ...

Attacher un fichier:



jpg  rel_complex.JPG (38.38 KB)
3087_489b0d230316d.jpg 611X455 px

Cette contribution était de : http://old.wdforge.org/newbb/viewtopic.php?forum=19&topic_id=5964&post_id=24058