how to add "?" at the end of a sentence

joyaccess1

Registered User.
Local time
Yesterday, 19:12
Joined
Jan 21, 2008
Messages
32
Hi,

I have a column in the form for questions, I would need to add a "?" (question mark) at the end of the sentence automatically, how can i do this in the form.

any help will be appreciated

Thanks
Joy
 
Joy,

Use the BeforeUpdate event of the field.

Code:
If Right(Me.YourField, 1) <> "." Then
   Me.YourField = Me.YourField & "."
End If

Wayne
 
Perfect, Thanks Wayne.
 

Users who are viewing this thread

Back
Top Bottom