Hi everybody!
Why does this line is ok
DoCmd.OpenReport "test1", acViewPreview, , "[C07-CODE]=forms!Formulaire1!criter_code.value"
And that this line makes a report with no data?
DoCmd.OpenReport "test1", acViewPreview, , "[C07-CODE]=forms!Form2!criter_code.value" AND [C16-VEND]=forms!Form2!criter_vend.value"
It seems that it's hard to put more than one criteria at the same time. Thanks for your help!
Why does this line is ok
DoCmd.OpenReport "test1", acViewPreview, , "[C07-CODE]=forms!Formulaire1!criter_code.value"
And that this line makes a report with no data?
DoCmd.OpenReport "test1", acViewPreview, , "[C07-CODE]=forms!Form2!criter_code.value" AND [C16-VEND]=forms!Form2!criter_vend.value"
It seems that it's hard to put more than one criteria at the same time. Thanks for your help!