Pigeon,
Yes, that's pretty much what I mean, except the first line of code needs
to be broken to a new line, same as I showed you before:
Private Sub First_Name_AfterUpdate()
If IsNull(Me.Preferred_Name) Then
Me.Preferred_Name = Me.First_Name
End If
End Sub
If that still doesn't work, let us know what actually happens.
--
Steve Schapel, Microsoft Access MVP
Pigeon70 wrote:
> Hi Steve,
>
> Thanks so much for your answer! Do you mean like this? If so then
> something isn't working.
>
> Private Sub First_Name_AfterUpdate()
> If IsNull(Me.Preferred_Name) Then Me.Preferred_Name = Me.First_Name
> End If
> End Sub
>
|