i want to change text in txt boxes. when a new customer is being created we are too lazy to put uppercase in. so i want to change the text so the first letter is uppercase. i have used this on every event and it doesnt change a thing.
i have this at the top
what is wrong?
PHP:
Private Sub txtTown_AfterUpdate()
LResult = StrConv("TECH ON THE NET", 3)
End Sub
Private Sub txtPostcode_AfterUpdate()
LResult = StrConv([txtPostcode], 1)
End Sub
Private Sub txtStreet_AfterUpdate()
LResult = StrConv([txtStreet], 3)
End Sub
Private Sub txtFirstName_BeforeUpdate()
LResult = StrConv([txtFirstName], 3)
End Sub
i have this at the top
PHP:
Option Compare Database
Option Explicit
Dim LResult As String
Dim LResponse As Integer
what is wrong?