Validation Rule

B

bw

I want to force the user to enter a period at the end of a note field. Can someone show
me how to do this using a validation rule?

Thanks,
Bernie
 
J

John Nurick

In addition to the validation rule you could insert the period by
running code in the BeforeUpdate() event of the textbox displaying the
field. Something like

With Me.ActiveControl
If Right(.Value, 1) <> "." Then
.Value = Trim(.Value) & "."
End If
End With
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top