LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Used range and SQL query


Hello !

The Jet engine allows to retrieve the contents of a range in a recordset, with
queries like :

SELECT * FROM [Sheet1$A1:B4]

Problem : suppose that in this sheet, only the cells A4:B4 are populated (all
other cells are empty).

In this case, the recordset built by the above query will have only 1 record,
containing the values of A4:B4, and not what we expect (A1:B4).

Is it possible to obtain the right records, ie :

Record 1 : Null - Null
Record 2 : Null - Null
Record 3 : Null - Null
Record 4 : Value of A4 - Value of B4


Thanks !
 
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
How Do I Query a Named Range JeffP-> Excel Worksheet Functions 2 February 3rd 09 11:11 PM
range search query Guerilla Excel Programming 1 March 22nd 07 10:28 PM
Range.Insert query [email protected] Excel Programming 1 September 6th 05 12:37 PM
How update range after web query? Chris Shearer Cooper Excel Programming 2 May 10th 04 10:15 PM
Finding the query range Belinda Excel Programming 2 February 13th 04 01:42 PM


All times are GMT +1. The time now is 04:19 PM.

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

About Us

"It's about Microsoft Excel"