what database are you using?
That sounds more like an issue with your DBMS as VB6 doesnt normally care about case
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
SELECT * From table where LOWER(name) = 'neil'
?
Comatose
Taboo Programmer
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
hi, try this subroutine.. and use the final data to process to your database...
Sub zz()
Dim inputx, inputy, inputz, inputfinal As String
Dim i As Integer
inputx = InputBox("enter data")
i = Len(inputx)
inputy = UCase(Mid(inputx, 1, 1))
inputz = LCase(Mid(inputx, 2, i - 1))
inputfinal = inputy + inputz
MsgBox inputfinal 'use inputfinal data to process to your database
End Sub
hope it helps... ;)
cguan_77
Nearly a Posting Virtuoso
1,317 posts since Apr 2007
Reputation Points: 19
Solved Threads: 115