Re: Help with capitalizing
- From: "Ralph" <nt_consulting64@xxxxxxxxx>
- Date: Wed, 25 Oct 2006 19:13:47 -0500
"Bob Butler" <tiredofit@xxxxxxxxxxx> wrote in message
news:OPlYItH%23GHA.4472@xxxxxxxxxxxxxxxxxxxxxxx
"Ralph" <nt_consulting64@xxxxxxxxx> wrote in message
news:HvadneIjQ_b4SaLYnZ2dnUVZ_sCdnZ2d@xxxxxxxxxxxx
"J" <jk_50@xxxxxxxxxxx> wrote in message
news:OMf8ReH%23GHA.4712@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have VB6 and SQL 2000. All our names are in capital letters.
Is there a syntax that will make the first letter in the fields
capital and the remaining lower case.
Thanks in advance.
The simple way
The simple way is
s=strconv(s,vbProperCase)
LOL
I had McDermott, MacDonald, D'Annunzio, L'Enclos, and O'Henry on my mind -
the first snippet I grabbed was for a textbox, and looked a bit silly so I
quickly chopped down the second version to do without the textbox or special
names - I didn't appreciate that by doing that I had merely recreated
strconv().
But I had fun.
<g>
-ralph
.
- Follow-Ups:
- Re: Help with capitalizing
- From: J
- Re: Help with capitalizing
- References:
- Help with capitalizing
- From: J
- Re: Help with capitalizing
- From: Ralph
- Re: Help with capitalizing
- From: Bob Butler
- Help with capitalizing
- Prev by Date: Re: Help with capitalizing
- Next by Date: Re: Help with capitalizing
- Previous by thread: Re: Help with capitalizing
- Next by thread: Re: Help with capitalizing
- Index(es):
Relevant Pages
|