Results 1 to 6 of 6
  1. #1
    Lounger
    Join Date
    Mar 2001
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Changing from upper case to mixed case (Access 2000 SP3)

    This one should be simple enough but... How do I change text in a field from all upper case to mixed (proper) case?

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Changing from upper case to mixed case (Access 2000 SP3)

    In a query use :
    StrConv(YourField,3)
    Francois

  3. #3
    2 Star Lounger
    Join Date
    Jul 2003
    Posts
    124
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Changing from upper case to mixed case (Access 2000 SP3)

    Thanks for the code; worked perfectly. Where would you find a listing of all these codes?

  4. #4
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Changing from upper case to mixed case (Access 2000 SP3)

    In the help file or in a good book on access.
    If you do a search on book, you'll find a lot of posts with titles.
    Francois

  5. #5
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Pennsylvania, USA
    Posts
    144
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Changing from upper case to mixed case (Access 2000 SP3)

    Does this work in a text box as well or might I ask what does do the same in text box.
    threecrow

    Don't make excuses. It's what you do, not why you didn't.

  6. #6
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Changing from upper case to mixed case (Access 2000 SP3)

    To use this in for a textbox, you should use this code in the afterupdate of the textbox:<pre>Private Sub MyTextbox_AfterUpdate()
    Me.Textbox = StrConv(Me.Textbox, vbProperCase)
    End Sub</pre>

    Francois

Posting Permissions

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