D
Dudley
I have AutoNumber field EnvelopeNumber and text field AuthenticationCode,
with the default for AuthenticationCode equalling EnvelopeNumber. In Allen
Browne's code to duplicate records, I have code to update the
AuthenticationCode if it equals the AutoNumber, but accept it if the user has
entered his own code.
If Me.AuthenticationCode = Me.EnvelopeNumber Then
!AuthenticationCode = !EnvelopeNumber
Else
!AuthenticationCode = Me.AuthenticationCode
End If
This always copies the AuthenticationCode, I assume because Access does not
recognise that a number field can equal a text field.
Thanks for any help.
Dudley
with the default for AuthenticationCode equalling EnvelopeNumber. In Allen
Browne's code to duplicate records, I have code to update the
AuthenticationCode if it equals the AutoNumber, but accept it if the user has
entered his own code.
If Me.AuthenticationCode = Me.EnvelopeNumber Then
!AuthenticationCode = !EnvelopeNumber
Else
!AuthenticationCode = Me.AuthenticationCode
End If
This always copies the AuthenticationCode, I assume because Access does not
recognise that a number field can equal a text field.
Thanks for any help.
Dudley