Where Clause works by itself but not together? Please Help...

G

Gina Whipp

Hello All,

Small problem, why does this work if I use one or the other in 'where
clause' but not both? Yes, the first part is numeric and the second part
text. I checked that twice. The error message I get is 'Type Mismatch'


DoCmd.OpenReport "rptCoverSheet", acViewPreview, , "[pID]=" &
Me![txtProjectID] And "[ikCode]='" & Me![cboIndexKeyID] & "'"


Thanks!
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II
 
G

Gina Whipp

Thank you John Spencer, 10.2.006 answer to someone else! Pardon me for not
looking first!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top