Dear Ed:
Access has two available database engines that ship with the product:
Jet and MSDE. MSDE is a version of SQL Server and accepts the CASE
statement perfectly well. Jet won't do this, and the alternatives can
be quite messy. Sorry!
Perhaps you think of Jet as being Access, as it has been a part of
Access for ever, while MSDE was introduced with Access 2000. But, for
those of us who use Access exclusively with MSDE, we hardly think of
Jet being Access and MSDE not being Access. I think this is a pet
peeve! However, with a complete design environment for MSDE having
been added in Access 2000, that being the Access Data Project (ADP) it
can hardly be said that Jet is Access and MSDE is not.
If you're accustomed to using TSQL but are working in an MDB, you can
write pass-thru queries to MSDE as well as writing Jet queries on
linked tables, and get the best of both worlds. The tables can be in
either Jet or MSDE, as MSDE can contain linked servers of Jet
databases.
Hi:
Is it possible to use TSQL CASE syntax in an Access query?
I'm trying to create a cartesion bewteen two tables -
table one with three rows per id1 and table two with
id2. Then for each case of id1 get a different column
from table two referenced by id2
Thanks
Tom Ellison
Ellison Enterprises - Your One Stop IT Experts