Bruce,
In design view of the form, right-click on the Notes textbox, and select
Properties from the popup menu that appears. In the Property sheet,
locate the On Change event property. In this box, select [Event
Procedure] from the drop-down list, and then click the little button to
the right with the ellipsis [...] icon. This will open the Visual Basic
Editor window, with something like this already shown there...
Private Sub Notes_Change()
End Sub
You would type the code I suggested in the gap, so the whole procedure
looks like this...
Private Sub data_Change()
If Len(Me.Notes.Text) > 600 Then
MsgBox "Stop"
End If
End Sub
Close the VBE window, close and save the form. You might want to change
the 600 to a smaller number temporarily, so you can test it would having
to enter 600 characters into the Notes textbox before you can see
whether it is working
--
Steve Schapel, Microsoft Access MVP
Thanks for your reply, but can you explain in more detail.
Where exactly do I enter the code,is Me the name of the form & Notes would
be the "Your Memo Field"
Thanks Bruce
visible is