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: 69
Default Excel, OLEDB and uppercase problem.

Hi.

There are some data on excel sheet which I try to read as database

ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source="
& ThisWorkbook.Path & "\" & ThisWorkbook.Name & ";Extended
Properties=Excel 8.0;"


Some values are stored in different ways
as

UpperCase
UPPERCASE
or
uppercase

and sql statement like
select * from [DB$] where Field = "UpperCase"

uses binary comparison to return rows.


Is there any way to switch it to text comparison to have all rows
regardless how it was written on sheet

Any parameter to connection string

select * from [DB$] where UPPER(Field) = "UPPERCASE" does not work.

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
oledb connection string problem in vb.net Manoj Nair Excel Programming 0 April 15th 06 08:41 AM
Connection to Excel from .Net using Oledb c23chaos Excel Programming 0 March 8th 06 03:50 PM
Excel OLEDB format problem... Terry Mulvany Excel Programming 0 April 12th 05 06:44 PM
Using OleDB to get data from Excel dvd00 Excel Discussion (Misc queries) 1 November 30th 04 04:32 PM
EXCEL AND OLEDB Yama Excel Programming 4 February 25th 04 03:29 PM


All times are GMT +1. The time now is 10:16 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"