Hello
i have a form that i attached it.
when i select a number from this combobox a report is opened that i want to print it and auftragnummer in this report should be equal to the value of this combobox. i wrote the below code for the report opening but i get this error:
run time error 3464, type mismatch.
i have error in below code:
DoCmd.OpenReport "rep_CQAReport", acViewPreview, , "[Auftragsnummer] = " & [cmb_AuftragNummer]
can you help me please?
thank you
i have a form that i attached it.
when i select a number from this combobox a report is opened that i want to print it and auftragnummer in this report should be equal to the value of this combobox. i wrote the below code for the report opening but i get this error:
run time error 3464, type mismatch.
i have error in below code:
DoCmd.OpenReport "rep_CQAReport", acViewPreview, , "[Auftragsnummer] = " & [cmb_AuftragNummer]
can you help me please?
thank you