Memo field punctuation (1 Viewer)

bdhtexas

Registered User.
Local time
Today, 15:17
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?
 

WayneRyan

AWF VIP
Local time
Today, 21:17
Joined
Nov 19, 2002
Messages
7,122
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

Top Bottom