Doc_Ref = $qpDoc_Ref and
Doc_Lang like $qpDoc_Lang and
Doc_Date>=$qpDoc_DateDebut and Doc_Date<=$qpDoc_DateFin and
( Doc_Title like $qpDoc_Title or Title like $qpDoc_Title ) and
Doc_Type like $qpDoc_Type and
Doc_SubType like $qpDoc_SubType and
Doc_Descriptors like $qpDoc_Descriptors and
Doc_Authors like $qpDoc_Authors and
Doc_ID_Session = $qpDoc_ID_Session and
Doc_ID_Commission =$qpDoc_ID_Commission
Without space after $, and I have always this error.
"Doc_Ref = $qpDoc_Ref and
Doc_Lang like $qpDoc_Lang and
Doc_Date>=$qpDoc_DateDebut and Doc_Date<=$qpDoc_DateFin and
( Doc_Title like $qpDoc_Title or Title like $qpDoc_Title ) and
Doc_Type like $qpDoc_Type and
Doc_SubType like $qpDoc_SubType and
Doc_Descriptors like $qpDoc_Descriptors and
Doc_Authors like $qpDoc_Authors and
Doc_ID_Session = $qpDoc_ID_Session and
Doc_ID_Commission =$qpDoc_ID_Commission "