M
Mike Wilson
Help please
I am trying to put together an if statement to run a
proper case module and also to to transfer
the contents of a field to another subject to the field
being blank.
The code I am trying to use is:
Private Sub Name_AfterUpdate()
If Len(Me!Name) > 0 Then
Me!Name = ProperCase(Me!Name)
Else
If (Me!Comp) = Null Then
Me!Comp = ProperCase(Me!Name)
End If
End If
End Sub
The Comp field is for Company and if it is null then I
want to transfer the Name field to it, I tried splitting
the code to transfer the Name field to the Company field
using the on enter event...but had no success
Any help gratefully appreciated
Thank you
Mike
I am trying to put together an if statement to run a
proper case module and also to to transfer
the contents of a field to another subject to the field
being blank.
The code I am trying to use is:
Private Sub Name_AfterUpdate()
If Len(Me!Name) > 0 Then
Me!Name = ProperCase(Me!Name)
Else
If (Me!Comp) = Null Then
Me!Comp = ProperCase(Me!Name)
End If
End If
End Sub
The Comp field is for Company and if it is null then I
want to transfer the Name field to it, I tried splitting
the code to transfer the Name field to the Company field
using the on enter event...but had no success
Any help gratefully appreciated
Thank you
Mike