Click here to Skip to main content
15,926,406 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Populate a form Pin
str5016-Jul-06 14:43
str5016-Jul-06 14:43 
GeneralRe: Populate a form Pin
George B Gilbert16-Jul-06 15:35
George B Gilbert16-Jul-06 15:35 
GeneralRe: Populate a form Pin
str5016-Jul-06 16:11
str5016-Jul-06 16:11 
QuestionUpdating table using SelectCommand.CommandText? Pin
Rashar12-Jul-06 10:48
Rashar12-Jul-06 10:48 
AnswerRe: Updating table using SelectCommand.CommandText? Pin
kumarprabhakar7412-Jul-06 19:39
kumarprabhakar7412-Jul-06 19:39 
QuestionScreen scrape Pin
swissmiss8612-Jul-06 10:13
swissmiss8612-Jul-06 10:13 
AnswerRe: Screen scrape [modified] Pin
mr_1234512-Jul-06 12:35
mr_1234512-Jul-06 12:35 
QuestionHelp with string comparisons in SQL Pin
kscadi12-Jul-06 9:36
kscadi12-Jul-06 9:36 
FYI:
I'm programming in Visual Basic 6.0
I have an ADODC control that is linked to a .mdb file I created in Microsoft Access
The provider I am using to connect to the database is Microsoft Jet OLE DB 4.0

My Problem:
String comparisons in my SQL queries are not behaving the way I'd like:

As a silly example,

SELECT * FROM tbl WHERE 'a' = 'A' returns everything in tbl
SELECT * FROM tbl WHERE 'a' > 'A' returns nothing in tbl
SELECT * FROM tbl WHERE 'a' < 'A' returns nothing in tbl

How do I make the above comparisons so they are case sensitive?

I need my comparisons to abide by the following character ranking scheme:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoffpro01/html/GettingStartedwithADO.asp

Under this scheme, the following holds:

'a' = 'A' = FALSE
'a' > 'A' = TRUE
'.0000m3d10_1' > '.0000m3d10Z' = TRUE

Your help is greatly appreciated!

-Lee``

-- modified at 16:09 Wednesday 12th July, 2006
QuestionAdding a working scrollbar to a panel Pin
Joshua Boyle12-Jul-06 8:07
Joshua Boyle12-Jul-06 8:07 
AnswerRe: Adding a working scrollbar to a panel Pin
Dave Kreskowiak12-Jul-06 8:14
mveDave Kreskowiak12-Jul-06 8:14 
GeneralRe: Adding a working scrollbar to a panel Pin
Joshua Boyle12-Jul-06 8:20
Joshua Boyle12-Jul-06 8:20 
QuestionMCSE CCNA BOOT CAMP TRAINING IN INDIA/GOA Pin
ipgates12-Jul-06 7:37
ipgates12-Jul-06 7:37 
AnswerWarning! Advertisement Pin
Dave Kreskowiak12-Jul-06 7:57
mveDave Kreskowiak12-Jul-06 7:57 
QuestionExecuting Sql server 2005 Job from vb.net? Pin
montu337712-Jul-06 6:18
montu337712-Jul-06 6:18 
AnswerRe: Executing Sql server 2005 Job from vb.net? [modified] Pin
Dave Kreskowiak12-Jul-06 6:53
mveDave Kreskowiak12-Jul-06 6:53 
GeneralRe: Executing Sql server 2005 Job from vb.net? Pin
montu337712-Jul-06 7:37
montu337712-Jul-06 7:37 
GeneralRe: Executing Sql server 2005 Job from vb.net? Pin
montu337712-Jul-06 7:37
montu337712-Jul-06 7:37 
GeneralReg. execution of job from vb.net Pin
montu337712-Jul-06 7:39
montu337712-Jul-06 7:39 
GeneralRe: Reg. execution of job from vb.net Pin
Dave Kreskowiak12-Jul-06 7:54
mveDave Kreskowiak12-Jul-06 7:54 
GeneralRe: Reg. execution of job from vb.net Pin
montu337712-Jul-06 8:32
montu337712-Jul-06 8:32 
GeneralRe: Reg. execution of job from vb.net Pin
Dave Kreskowiak12-Jul-06 9:44
mveDave Kreskowiak12-Jul-06 9:44 
Questionhow to encryp and decryp a file? Pin
vbvic12-Jul-06 6:00
vbvic12-Jul-06 6:00 
AnswerRe: how to encryp and decryp a file? Pin
Bob X12-Jul-06 6:03
Bob X12-Jul-06 6:03 
GeneralRe: how to encryp and decryp a file? Pin
LifeIsSad12-Jul-06 6:05
LifeIsSad12-Jul-06 6:05 
GeneralRe: how to encryp and decryp a file? Pin
Bob X12-Jul-06 6:12
Bob X12-Jul-06 6:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.