By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,164 Members | 969 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,164 IT Pros & Developers. It's quick & easy.

How to add printer control codes to memo

100+
P: 114
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.
Jan 8 '07 #1
Share this Question
Share on Google+
2 Replies


nico5038
Expert 2.5K+
P: 3,072
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)
Jan 9 '07 #2

NeoPa
Expert Mod 15k+
P: 31,660
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.
Jan 9 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.