Re: Help with capitalizing
- From: "J" <jk_50@xxxxxxxxxxx>
- Date: Thu, 26 Oct 2006 08:18:51 -0600
Thanks for all the input. It worked. Now suppose I have a two word name
e.g. Mary Smith-Jones or Jane Doe Smith (the dashes and spaces between
names?
"Ralph" <nt_consulting64@xxxxxxxxx> wrote in message
news:0LudnY-3vOU6YKLYnZ2dnUVZ_vGdnZ2d@xxxxxxxxxxxxxxx
"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: Ralph
- Re: Help with capitalizing
- References:
- Help with capitalizing
- From: J
- Re: Help with capitalizing
- From: Ralph
- Re: Help with capitalizing
- From: Bob Butler
- Re: Help with capitalizing
- From: Ralph
- 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
|