Re: Crosstab with SQL Backend Problem
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Tue, 14 Oct 2008 09:47:21 -0400
pete.trudell@xxxxxxxxxxxxxxx wrote:
On Oct 13, 6:28 pm, Lord Kelvan <the_idd...@xxxxxxxxxxx> wrote:No, you can only use JetSQL against Jet tables or linked tables. You
you can still build the same queries in access using an odbc
connection from sql server if this is what you are asking
Regards
Kelvan
Here is my TRANSFORM Code, which will not parse in SQL- errs out :
TRANSFORM COUNT(CType)
SELECT dbo.Login.LName, dbo.Login.FName, dbo.CallLog.CType,
dbo.Login.Team
FROM dbo.CallLog INNER JOIN dbo.Login ON dbo.CallLog.LO =
dbo.Login.StdLogonID
GROUP BY dbo.Login.LName, dbo.Login.FName, dbo.CallLog.CType,
dbo.Login.Team
ORDER BY dbo.Login.Team
PIVOT(CType) IN ([Claims], [Inquiry], [Tele-Serve])
I've tried different things to adjust this and still it will not
work.
cannot, for instance, use TRANSFORM in a passthrough query: it's a
JetSQL keyword that does not exist in Transact-SQL. In order to use
TRANSFORM, you will need to use linked tables. Is the problem that you
don't know how to create linked tables? Access pretty much walks you
through the process ...
SQL 2005 does have new PIVOT functionality if you are using that
version. It, however, still does not use TRANSFORM.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
.
- Follow-Ups:
- Re: Crosstab with SQL Backend Problem
- From: pete . trudell
- Re: Crosstab with SQL Backend Problem
- References:
- Crosstab with SQL Backend Problem
- From: pete . trudell
- Re: Crosstab with SQL Backend Problem
- From: Lord Kelvan
- Re: Crosstab with SQL Backend Problem
- From: pete . trudell
- Crosstab with SQL Backend Problem
- Prev by Date: Computed Column from Date Field
- Next by Date: Using the Table Analyzer
- Previous by thread: Re: Crosstab with SQL Backend Problem
- Next by thread: Re: Crosstab with SQL Backend Problem
- Index(es):
Relevant Pages
|