Re: Multiple combo boxes - send parameters to a query?
- From: Marshall Barton <marshbarton@xxxxxxxxxx>
- Date: Wed, 18 Jan 2006 13:12:07 -0600
Richard Horne wrote:
>Thank you for your replies. I think you're taking me the wrong way however.
>I am eternally grateful to everyone on this forum who has helped me. Without
>help on from people on this forum, the project I am working on would be
>nowhere near where it is now.
>
>And I wasn't passing blame. You asked the question:
>
>Why are you using Like "*" & ...? If you really need that kind of
>comparison, it implies that there may be something funny in
>you table's fields or that the combo boces only have a vague
>relationship with each other???
>
>And I replied by saying - I didn't write that script - another user had told
>me to try that code previously. That is all.
>
>And yes I admit, "doesn't seem to get me anywhere" is a bit of a vague reply
>for which I apologise. To elaborate further, I did what I thought you were
>telling me to do, and this generated some sort of infinitely looping query.
>When I viewed the SQL of my query after I applied OR
>Forms!yourform.cboQueriedCustomer Is Null to each criteria the SQL view just
>filled with hundreds of OR and AND clauses before crashing ACCESS. So it was
>back to square 1.
>
>You seem awfully defensive in your replies but to re-iterate I appreciate
>all the help I can get. A year ago I had never used Access but now have a
>reasonable understanding of Access and databases in general, however my VB
>skills are non existent so forgive my need for hand holding.
I probably did come across a little harsh. Must be my
frustration at trying to answer a question with so few clues
to go on.
Regardless, it sounds like the query designer blew up with
whatever you entered in the design grid. How about just
skipping that interface and making the changes directly in
SQL view? Does that work? If it doesn't blow up and you
have further questions, please post a Copy/Paste of the SQL
sstatement so I can see exactly what tried.
--
Marsh
MVP [MS Access]
.
- References:
- Re: Multiple combo boxes - send parameters to a query?
- From: Marshall Barton
- Re: Multiple combo boxes - send parameters to a query?
- From: Marshall Barton
- Re: Multiple combo boxes - send parameters to a query?
- From: Marshall Barton
- Re: Multiple combo boxes - send parameters to a query?
- Prev by Date: Re: Query to Count and copy records to new table
- Next by Date: Re: Use crosstab column heading in a calculation
- Previous by thread: Re: Multiple combo boxes - send parameters to a query?
- Next by thread: Re: Multiple combo boxes - send parameters to a query?
- Index(es):
Relevant Pages
|