Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 25th, 2005, 09:47 AM
Authorized User
 
Join Date: Jun 2003
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default Display Crosstab Query Results - HELP?

Hi,

Is it possible to display the rusults of a crosstab query in an asp page???

Ive written the followign script but keep getting an error:

strSQL = "TRANSFORM Count([OP MORR MDS].InternalPatientNumber) AS CountOfInternalPatientNumber SELECT [OP MORR MDS].consfull FROM [OP MORR MDS] GROUP BY [OP MORR MDS].consfull PIVOT [OP MORR MDS].[NEW STATUS] In (""ATT NEW"",""ATT FOLLOW UP"","DNA NEW","DNA FOLLOW UP")";

My connection is working properly.

Many thanks for your help.

Tim



Tim
__________________
Tim





Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit Query Results in Results Grid druid2112 SQL Server 2005 1 June 28th, 2007 08:49 AM
Crosstab query with no results edubbelaar Access 0 November 22nd, 2004 06:12 AM
Crosstab Query Ben Access 7 November 22nd, 2004 06:08 AM
Crosstab query Berni016x SQL Server 2000 2 September 17th, 2004 10:43 AM
Crosstab query vladimir Access 1 December 1st, 2003 04:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.