Hello everyone! This is my first post to this forum. I just joined today!
Here's my issue:
I'm working with a simple text box in an Access 2013 form. The text box is used for taking notes that will be saved when the user is finished. The notes follow a simple template, starting with today's date, a carriage return, and the words "Way Forward:". I'm using the following line of code to achieve this:
Me.txtActionNotes = Date & vbVerticalTab & "Way Forward:"
That works great! It does the job; however, why would it not work using either of the following lines of code?::banghead:
Me.txtActionNotes = Date & CHR$(13) & CHR$(10) & "Way Forward:"
Me.txtActionNotes = Date & vbCr & vbLf & "Way Forward:"
Here's my issue:
I'm working with a simple text box in an Access 2013 form. The text box is used for taking notes that will be saved when the user is finished. The notes follow a simple template, starting with today's date, a carriage return, and the words "Way Forward:". I'm using the following line of code to achieve this:
Me.txtActionNotes = Date & vbVerticalTab & "Way Forward:"
That works great! It does the job; however, why would it not work using either of the following lines of code?::banghead:
Me.txtActionNotes = Date & CHR$(13) & CHR$(10) & "Way Forward:"
Me.txtActionNotes = Date & vbCr & vbLf & "Way Forward:"