ClaraBarton
Registered User.
- Local time
- Yesterday, 19:04
- Joined
- Oct 14, 2019
- Messages
- 479
I have a field with a date that when I click a button, gets added to a notes box. I would like for the notes that are already in the box to move down and place the date at the beginning with with the cursor after it for adding more notes. Like so:
*11/13/21
*11/12/21 spoke with Arnold
*11/13/21 spoke with Arnold again
*11/10/21 No answer
I'm using:
Where S = the date and CN = the notes already in the field.
If I've placed any info after the date or even just a space, it works fine.
If only the date is there and I add a new date it will not move down and start a new line.
Is there a better way of doing this?
*11/13/21
*11/12/21 spoke with Arnold
*11/13/21 spoke with Arnold again
*11/10/21 No answer
I'm using:
Code:
Me.Parent.CNotes = vbNewLine & S & vbNewLine & CN
Me.Parent.CNotes.SetFocus
Me.Parent.CNotes.SelStart = 10
If I've placed any info after the date or even just a space, it works fine.
If only the date is there and I add a new date it will not move down and start a new line.
Is there a better way of doing this?