G
Guest
Is there any way I can count the charaters in a memo field including spaces.
I currently use the following procedure.
On Error GoTo Err_Form_BeforeUpdate
If Len(Me![Notes]) > 1560 Then
MsgBox "Your notes must be less than 1,560 characters.", vbInformation,
"Exceeded Field Limit"
Cancel = True
End If
Exit_Form_BeforeUpdate:
Exit Sub
Err_Form_BeforeUpdate:
MsgBox Err.Description
Resume Exit_Form_BeforeUpdate
I want the user to have the ability to check the count before trying to save
the record.
I currently use the following procedure.
On Error GoTo Err_Form_BeforeUpdate
If Len(Me![Notes]) > 1560 Then
MsgBox "Your notes must be less than 1,560 characters.", vbInformation,
"Exceeded Field Limit"
Cancel = True
End If
Exit_Form_BeforeUpdate:
Exit Sub
Err_Form_BeforeUpdate:
MsgBox Err.Description
Resume Exit_Form_BeforeUpdate
I want the user to have the ability to check the count before trying to save
the record.