Re: A union B works, A union B union C fails

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Tue, 28 Nov 2006 14:15:43 -0800, Phil Smith <phil@xxxxxxxxxxx>
wrote:

Each individual query is fairly simple. One table has fields for three
possible sales reps, I need to treat them as as one set of fields.

Then it's an incorrectly normalized table... I presume you're trying
to fix that problem.

Each query is identical, except for the three fields that refer to Rep1,
Rep2, and Rep3.

A, B, or C run fine seperately.
A union B
B union C
A Union C
all run fine.

A Union B Union C fails with an ODBC error.

ODBC... what's the actual data storage database? Are these linked
tables in Access? What's the actual error message?

I can fudge it with make table/append queries, but any ideas?

Please post your SQL.

John W. Vinson[MVP]
.



Relevant Pages

  • Re: WOW!!
    ... wtwjgc, having carefully considered all the angles, harangued us with the following: ... than the Union Flag:- ... I presume the fans who do that are themselves Scots. ...
    (uk.people.silversurfers)
  • Re: Data Security
    ... > What your fiend must NOT do is try to fix the problem himself. ... I'd go through the doctor's union, ... On a related note, there was a news report on the radio the other day ...
    (uk.rec.sheds)
  • Re: Data Security
    ... >> What your fiend must NOT do is try to fix the problem himself. ... > I'd go through the doctor's union, ... MYAAW. ...
    (uk.rec.sheds)
  • Re: OT: the heater died a sudden death
    ...  > repair man came today ... He could fix it but it will only ... I learned (from having my idiot sister in a union) that each union ... Yes the last bus strike was also in December. ...
    (rec.pets.cats.anecdotes)
  • Re: WOW!!
    ... rather than the Union Flag:- ... I presume the fans who do that are themselves Scots. ...
    (uk.people.silversurfers)