Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crosstab Help

Status
Not open for further replies.

eerich

IS-IT--Management
Nov 2, 2003
124
US
Hi Everyone,

Is there a way to setup a crosstab query and just place an 'X' in the column where your criteria is met, instead of an aggregate function. I've read through the various threads but could not find anything that addressed how to setup up the TRANSFORM statement to just place an 'X' or any static value in column, instead of aggregating the data.

Appreciate any suggestions.
 
Duane,

I'm not sure I understand. If my syntax is something like below:

Code:
TRANSFORM First(C.ObianujName) AS ObjName
SELECT C.ObianujName, Descr

How should I construct TheValue?

Thanks for your helpl
 
Duane,

I believe I figured it out.

Code:
TRANSFORM First('x') as ObjVal
SELECT C.ObinujName, Descr

Thank you very much!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top