Memo field punctuation

bdhtexas

Registered User.
Local time
Yesterday, 23:56
Joined
Dec 3, 2003
Messages
79
I have a form set up where user's type in an explanation of how a claim is being appealed and resolved in a memo field.

One problem, for some reason management doesn't want these explanations to end with a period. But the users keep ignoring our request and keep using the period.

Is there a way that you can code this memo field to where it will allow punctuation throughout, except at the end?
 
bhd,

Use the AfterUpdate event of the field:

Code:
If Right(Me.YourMemo, 1) = "." Then
   Me.YourMemo = Mid(Me.YourMemo, 1, Len(Me.YourMemo) - 1)
End If

Wayne
 

Users who are viewing this thread

Back
Top Bottom