Hi again! 
I can't figure this out myself.....so if anyone likes to help, I would be really glad!
Ok, here is the problem:
I got a form with 7 listboxes and a Command Button.
Box1 chooses the report
box2 the clientname
box3 to 7 choose different variables depending on the choosen report.
So i want to do something like
DoCmd.OpenReport "rpDetails", acPreview, , "[clientname] " & strclientnames & "" And Box3-7
I already have done this for every box:
If IsNull(Me.cboGAclientnames.Value) Then
strclientnames = "Like '*'"
Else
strclientnames = "='" & Me.cboGAclientnames.Value & "'"
End If
I tried to build the OpenReport String with one more box, but i get a mismatch error and don't know why

I can't figure this out myself.....so if anyone likes to help, I would be really glad!
Ok, here is the problem:
I got a form with 7 listboxes and a Command Button.
Box1 chooses the report
box2 the clientname
box3 to 7 choose different variables depending on the choosen report.
So i want to do something like
DoCmd.OpenReport "rpDetails", acPreview, , "[clientname] " & strclientnames & "" And Box3-7
I already have done this for every box:
If IsNull(Me.cboGAclientnames.Value) Then
strclientnames = "Like '*'"
Else
strclientnames = "='" & Me.cboGAclientnames.Value & "'"
End If
I tried to build the OpenReport String with one more box, but i get a mismatch error and don't know why
