S Sharad Registered User. Local time Today, 12:36 Joined Jan 23, 2003 Messages 26 Feb 7, 2003 #1 When data is entered in a text box and Add Record button updates Table how do I make the first letter to show in Upper Case ? Thanks
When data is entered in a text box and Add Record button updates Table how do I make the first letter to show in Upper Case ? Thanks
ColinEssex Old registered user Local time Today, 17:36 Joined Feb 22, 2002 Messages 9,451 Feb 7, 2003 #2 Check out Access help.........InputMask Col
S stevievee Registered User. Local time Today, 17:36 Joined Jan 23, 2003 Messages 19 Feb 7, 2003 #3 ...or in code left(text,1) = uCase(left(text,1))
Mile-O Back once again... Local time Today, 17:36 Joined Dec 10, 2002 Messages 11,316 Feb 7, 2003 #4 That code won't work as you require an object or a variable to assign a value. Text0 = UCase(Left(Text0,1)) & LCase(Right(Text0,Len(Text0)-1)) That will work, as will Text0 = StrConv(Text0, vbProperCase)
That code won't work as you require an object or a variable to assign a value. Text0 = UCase(Left(Text0,1)) & LCase(Right(Text0,Len(Text0)-1)) That will work, as will Text0 = StrConv(Text0, vbProperCase)
S Sharad Registered User. Local time Today, 12:36 Joined Jan 23, 2003 Messages 26 Feb 7, 2003 #5 Upper Case Text0 = UCase(Left(Text0,1)) & LCase(Right(Text0,Len(Text0)-1)) This is it. This worked great. 2nd Code did not work, maybe I did not give enough time.Thanks guys.
Upper Case Text0 = UCase(Left(Text0,1)) & LCase(Right(Text0,Len(Text0)-1)) This is it. This worked great. 2nd Code did not work, maybe I did not give enough time.Thanks guys.
S stevievee Registered User. Local time Today, 17:36 Joined Jan 23, 2003 Messages 19 Feb 8, 2003 #6 Doh! That'll teach me to post in a hurry
S Sharad Registered User. Local time Today, 12:36 Joined Jan 23, 2003 Messages 26 Feb 9, 2003 #7 Mile - O - Phile Thanks again for your input in re: Upper Case. The code Text0 = StrConv(Text0, vbProperCase) converts all the first letters of all the words in a sentence to Caps. The other code converts only the firt letter to Caps
Mile - O - Phile Thanks again for your input in re: Upper Case. The code Text0 = StrConv(Text0, vbProperCase) converts all the first letters of all the words in a sentence to Caps. The other code converts only the firt letter to Caps
Mile-O Back once again... Local time Today, 17:36 Joined Dec 10, 2002 Messages 11,316 Feb 10, 2003 #8 Glad your happy. Regarding the diferences in capitalisation I knew; I just forgot to say.