Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
hjm hjm is offline
external usenet poster
 
Posts: 12
Default Show Non Blanks using MS Query

How do I show non-blanks only, using MS Query?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Show Non Blanks using MS Query

If the record fields truly are null (not spaces or "")Try using "IS NOT NULL"
in the criteria:

Sample SQL:
SELECT rngMyData.Name, rngMyData.Value
FROM `C:\ExcelQueries\Lists`.rngMyData rngMyData
WHERE (rngMyData.Value Is Not Null)

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"hjm" wrote:

How do I show non-blanks only, using MS Query?

  #3   Report Post  
Posted to microsoft.public.excel.misc
hjm hjm is offline
external usenet poster
 
Posts: 12
Default Show Non Blanks using MS Query

Thats great, thank you

"Ron Coderre" wrote:

If the record fields truly are null (not spaces or "")Try using "IS NOT NULL"
in the criteria:

Sample SQL:
SELECT rngMyData.Name, rngMyData.Value
FROM `C:\ExcelQueries\Lists`.rngMyData rngMyData
WHERE (rngMyData.Value Is Not Null)

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"hjm" wrote:

How do I show non-blanks only, using MS Query?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems importing from an Access query Mike Excel Discussion (Misc queries) 0 June 20th 06 09:35 PM
MS Query - unable to edit query Excel GuRu Excel Discussion (Misc queries) 9 April 12th 06 04:29 PM
Incorrect syntax near '#' problem when returning to MS Query fromExcel Steen Persson (DK) Excel Discussion (Misc queries) 0 March 7th 06 03:23 PM
Formula Help Robert Excel Worksheet Functions 15 January 3rd 06 02:17 AM
MS Query not installed for New Database Query Malcolm Walker Excel Discussion (Misc queries) 0 August 2nd 05 10:58 PM


All times are GMT +1. The time now is 10:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"