How to add printer control codes to memo

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ljungers
    New Member
    • Dec 2006
    • 114

    How to add printer control codes to memo

    Was wondering how I could add printer control codes x'0A' or x'0D' in a memo field.
    Have tried to do a find/replace but can't seem to do a Alt+010 nor a ALT+013.

    Need to do some line feed & carriage returns. Memo field used with Access report.
  • nico5038
    Recognized Expert Specialist
    • Nov 2006
    • 3080

    #2
    When you define the Enter key behaviour to be "Next line" for the textbox (See other tab of the properties), then you'll get the CRLF in a natural way.

    Nic;o)

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32633

      #3
      As an FYI (but doesn't replace the proper answer) VBA has a number of predefined constants for such items including :
      VbCr; VbLf; VbCrLf; for use in general.

      Comment

      Working...