Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Capitalise first letter of a memo box 1

Status
Not open for further replies.

Cads

Technical User
Jan 17, 2000
40
GB
Does anyone know how I can set the properties of a memo box on a form so that the first letter is automatically capitalised? I thought the 'Autocorrect' property would do this but although it will capitalise the first word after a full stop it won't recognise the first word in the field as the start of a sentence. I'm also aware of the 'StrConv' function but this will turn all following characters to lowercase. Any text-manipulating-wizzos out there to assist? Ta.

Steve House
shouse@icaew.co.uk
 
in the AfterUpdate Event for the Control that captures the data, add

[ControlName] = Ucase(left([ControlName],1)) & mid([ControlName],2)

PaulF
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top