I would firstly, like to add a bullet to a Form textbox as soon as the user begins typing and secondly, add a bullet to each new line. I have code that works fine when the datatype is short text but I am unable to get something that works for long text/ memo. I am using Ms Access 2013. This is what I use for the short text:
[Private Sub Meeting_Notes_C hange()
If Len(Trim(Meetin g_Notes.Text)) = 1 And _
Meeting_Notes.T ext <> "• " Then _
Meeting_Notes.T ext = "• " & Meeting_Notes.T ext
End Sub]
[Private Sub Meeting_Notes_K eyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then
KeyCode = 0
Meeting_Notes.T ext = Meeting_Notes.T ext & Chr(13) & Chr(10) & "• "
End If
End Sub]
[Private Sub Meeting_Notes_C hange()
If Len(Trim(Meetin g_Notes.Text)) = 1 And _
Meeting_Notes.T ext <> "• " Then _
Meeting_Notes.T ext = "• " & Meeting_Notes.T ext
End Sub]
[Private Sub Meeting_Notes_K eyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then
KeyCode = 0
Meeting_Notes.T ext = Meeting_Notes.T ext & Chr(13) & Chr(10) & "• "
End If
End Sub]
Comment