Results 1 to 4 of 4

Thread: [RESOLVED] Capital letter only first string

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Resolved [RESOLVED] Capital letter only first string

    How to make Capital Letter only First String ?

    let say I typing "sawah sempadan", I want it store in the database like this

    "Sawah Sempadan"

    Code:
    .Fields("Kompartment").Value = Text1.Text

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Capital letter only first string

    Code:
    Text1.Text = StrConv(Text1.Text, vbProperCase)

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: Capital letter only first string

    If I typing "SAWAH SEMPADAN" or "Sawah sempadan" or "sawah sempadan". How I can store it like this "Sawah Sempadan"

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Capital letter only first string

    Did you try my example?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width