Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / February 2006

Tip: Looking for answers? Try searching our database.

How do I make a Pivot Case sensitive?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Green Chameleon - 21 Feb 2006 08:26 GMT
I have data being returned from a SQL view via ODBC (IDS on SuSE) where a
specific field has a value of N and n.

The problem is; only N is showing and all n's are summed in...

How can this be solved?

(O/s = Xp & Office = 2K)
keepITcool - 21 Feb 2006 12:50 GMT
include a function in your SQL?

SELECT IIF(strcomp(Field,'n',0),'L','U') AS 'Field', Value
FROM MYTABLE

Signature

keepITcool

| www.XLsupport.com | keepITcool chello nl | amsterdam

> I have data being returned from a SQL view via ODBC (IDS on SuSE)
> where a specific field has a value of N and n.
[quoted text clipped - 4 lines]
>
> (O/s = Xp & Office = 2K)
Green Chameleon - 21 Feb 2006 13:16 GMT
Well, what I did was create a union on one view with two
where clauses... One checks for capitals and the other doesn't

ie.:

select column1, column2.... from table_name1 where column2 not in ('a',
'b'...'z')
union all
select column1, column2....  from table_name1 where column2 in ('a',
'b'...'z')

And it works beautifully... Thanx for the reply!

> include a function in your SQL?
>
[quoted text clipped - 11 lines]
> >
> > (O/s = Xp & Office = 2K)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.