I have a line of code in an afterupdate sub for my "surname" field:
The code:
Me.PartyName = StrConv(Me.PartyName, vbProperCase)
The problem is when a double barreled surname is entered eg:
Smith-Jones
The code converts it to:
Smith-jones.
Is there a simple way to correct this?
Thanks,
Rich.
The code:
Me.PartyName = StrConv(Me.PartyName, vbProperCase)
The problem is when a double barreled surname is entered eg:
Smith-Jones
The code converts it to:
Smith-jones.
Is there a simple way to correct this?
Thanks,
Rich.