Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Access

Discussion in 'Information Technology' started by David, Jul 28, 2006.

Tags:
  1. David

    David
    Expand Collapse
    Guest

    How do I get access to change the first letter to uppercase in a table.
     
  2. Loading...


  3. Wayne-I-M

    Wayne-I-M
    Expand Collapse
    Guest

    Hi Dave

    To ensure names are places correctly in the first place:-
    In a Table use this as your input mask
    >L<??????????????????


    To get just the first letter and make it a capital (for use in letters ect)
    In a query add a new field use this
    Capital: Left([NameField],1)

    Press F1 to get more info

    Hope this helps



    --
    Wayne
    Manchester, England.



    "David" wrote:

    > How do I get access to change the first letter to uppercase in a table.
     
  4. John Vinson

    John Vinson
    Expand Collapse
    Guest

    On Wed, 12 Jul 2006 04:15:02 -0700, David
    <David@discussions.microsoft.com> wrote:

    >How do I get access to change the first letter to uppercase in a table.


    Be careful what you ask for. If you're doing this with people's names,
    you'll get incorrect names such as Macphee instead of MacPhee, Van der
    steen instead of van der Steen, O'brian instead of O'Brian.

    But to permanently convert the field to first letter capital, rest
    lower case, regardless of the current casing, use an Update query;
    update the field to

    UCase(Left([fieldname], 1)) & LCase(Mid([fieldname], 2))

    To update it to Proper Case (Each Word Capitalized, Including
    Macdonald And Van Der Steen), update to

    StrConv([fieldname], 3)

    John W. Vinson[MVP]
     
  5. David

    David
    Expand Collapse
    Guest

    Cheers Wayne,

    works like a treat.

    Dave

    "Wayne-I-M" wrote:

    > Hi Dave
    >
    > To ensure names are places correctly in the first place:-
    > In a Table use this as your input mask
    > >L<??????????????????

    >
    > To get just the first letter and make it a capital (for use in letters ect)
    > In a query add a new field use this
    > Capital: Left([NameField],1)
    >
    > Press F1 to get more info
    >
    > Hope this helps
    >
    >
    >
    > --
    > Wayne
    > Manchester, England.
    >
    >
    >
    > "David" wrote:
    >
    > > How do I get access to change the first letter to uppercase in a table.
     
  6. cfr20010910

    cfr20010910
    Expand Collapse
    Guest

    we
    "David" <David@discussions.microsoft.com> дÈëÏûÏ¢ÐÂÎÅ
    :B42FF03F-25D4-420A-B5A5-CAEE4F44CC9C@microsoft.com...
    > Cheers Wayne,
    >
    > works like a treat.
    >
    > Dave
    >
    > "Wayne-I-M" wrote:
    >
    > > Hi Dave
    > >
    > > To ensure names are places correctly in the first place:-
    > > In a Table use this as your input mask
    > > >L<??????????????????

    > >
    > > To get just the first letter and make it a capital (for use in letters

    ect)
    > > In a query add a new field use this
    > > Capital: Left([NameField],1)
    > >
    > > Press F1 to get more info
    > >
    > > Hope this helps
    > >
    > >
    > >
    > > --
    > > Wayne
    > > Manchester, England.
    > >
    > >
    > >
    > > "David" wrote:
    > >
    > > > How do I get access to change the first letter to uppercase in a

    table.
     

Share This Page