Hi Guys - I'm new here so please be gentle.
I've been going round in circles trying to get this one sorted.
Scenario.
I have a table that holds user data. I have two fields - [User_Forename] and [User_Surname].
In a form I have concatenated the two files by using the Control Source of an unbound text box [User_Logon] set to =IIf(IsNull([User_Forename]),[User_Surname],[User_Forename] & [User_Surname])
This works fine, my problem is forcing [User_Logon] into lowercase. I have tried running:
But this errors.
I have also tried
But that doesn't work either.
Help!!!
I've been going round in circles trying to get this one sorted.
Scenario.
I have a table that holds user data. I have two fields - [User_Forename] and [User_Surname].
In a form I have concatenated the two files by using the Control Source of an unbound text box [User_Logon] set to =IIf(IsNull([User_Forename]),[User_Surname],[User_Forename] & [User_Surname])
This works fine, my problem is forcing [User_Logon] into lowercase. I have tried running:
Code:
Private Sub Form_Load()
[User_Logon] = StrConv([User_Logon], 2)
End Sub
But this errors.
I have also tried
Code:
Private Sub User_Logon_AfterUpdate()
[User_Logon] = StrConv([User_Logon], vbLowerCase)
End Sub
But that doesn't work either.
Help!!!
Last edited: