Sam Summers
Registered User.
- Local time
- Today, 08:07
- Joined
- Sep 17, 2001
- Messages
- 939
Hi Guys,
This one Is new to me:
I have a combobox "ClientName" and a textbox "ReportNo" on a form.
When the user selects a client from "ClientName" I want to display the first two letters of the Clients name as capital letters in the "ReportNo" Textbox which will be used to create a concatenated report number in another Textbox.
At the moment nothing seems to happen when using the code below?
I have tried the same in the after Update Event but that doesn't work either?
Many thanks once again!
This one Is new to me:
I have a combobox "ClientName" and a textbox "ReportNo" on a form.
When the user selects a client from "ClientName" I want to display the first two letters of the Clients name as capital letters in the "ReportNo" Textbox which will be used to create a concatenated report number in another Textbox.
At the moment nothing seems to happen when using the code below?
I have tried the same in the after Update Event but that doesn't work either?
Many thanks once again!
Code:
Private Sub Client_Name_Change()
Me.ReportNo.SetFocus
Me.ReportNo.Value = Mid([Client Name], 2)
End Sub
[\CODE]