sub-query

Q

QB

Is there a reason my when I code a sub-query and test it, it runs fine. When
I reoprn the SQL, access has added AS Alias.... I then close and save it.

What is strange is in certain instances, still trying to find a patern,
after saving what was a functional query, when I try to rerun it I get an
error

'Invalid bracketing of name ...'

Is this something I am doing wrong or is there something I need to learn
about creating sub-queries to avoid this issue?

Thank you,

QB
 
J

Jerry Whittle

Access tries to re-write sql statements to run more efficiently. Every once
in a while, it gets it wrong.

Next time when you create this query, do it in SQL view and save it there.
Try your best to never run, save, or make changes to it while in QBE Design
view.
 

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