PC Review


Reply
Thread Tools Rate Thread

How to display multiple IIf results in one column

 
 
Charlotte
Guest
Posts: n/a
 
      21st Sep 2011
I have a simple query for one table that I need to display different
results on multiple rows, but within the same column for several
fields. The below example I am trying is not working:

Result: IIf([field1]=yes, “abc”, IIf([field2]=yes, “xyz”))

I would like the query to display the following on two separate rows:
Result:
abc
xyz

What is the best method to achieve this without having to use a union
join query?

Thank you!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to display multiple IIf results in one column Charlotte Microsoft Access Queries 1 21st Sep 2011 02:17 AM
Multiple Results for Vlookup in one column Curtd Microsoft Excel Worksheet Functions 3 14th Mar 2008 07:04 PM
search column and display results in msgbox mike Microsoft Excel Programming 1 23rd Jan 2008 03:18 AM
Search column for certain criteria and display results in a table cheeser83 Microsoft Excel Programming 0 7th Dec 2006 04:34 PM
Display results of query column in ContextTipText Ivan R via AccessMonster.com Microsoft Access Forms 0 8th Feb 2006 04:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:40 PM.