I’m using Access 97. I need a button for a form that, when clicked, will go to the end of a memo field and execute the equivalent of two carriage returns (like leaving a blank line between the old data and the new) and stop there waiting for further data entry. Any ideas are appreciated. Thanks in advance!
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Memo Field
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Memo Field
- This topic has 4 replies, 4 voices, and was last updated 23 years, 11 months ago.
AuthorTopicWScangrejero
AskWoody LoungerMay 15, 2001 at 3:49 pm #356035Viewing 0 reply threadsAuthorReplies-
WSPaulK
AskWoody Lounger -
WScharlotte
AskWoody LoungerMay 16, 2001 at 3:07 am #526283Here’s a sample Access 97 database that contains a form used to edit a memo field. It allows the user to simply hit enter to break the paragraph and does a few other interesting things as well, including allowing tabs in the field. I haven’t played with this for a while, so don’t expect too much of it.
-
WScangrejero
AskWoody Lounger -
WSThomasW
AskWoody LoungerMay 24, 2001 at 8:37 pm #526460Charlotte: Thank you … your sample was exactly what I needed to satisfy a customer request to press Enter in a memo field (my memo field is named Notepad). I added the following code to the OnEnter event of the memo field so that a return/CurrentDate/:/space would be placed on a new line each time the user entered the field to add a subsequent note. The cursor then goes to the end of the current line, so the user can begin typing.
Private Sub Notepad_Enter()
Dim vDate As Date
Dim vColon As StringvDate = Format(Date, “Short Date”)
vColon = “: ”Me![Notepad] = Me![Notepad] & vbCrLf & vDate & vColon
Me![Notepad].SelStart = Len(Me![Notepad]) + 1End Sub
So far, so good. The problem is that placing the cursor at the end automatically scrolls the text box down, so that only the current date line is visible, even if there is plenty of space in the text box to see the entire contents of the memo field. The user has to scroll up to see prior notes. Is there a way to stop that from happening, that is; place the cursor at the current line without scrolling down unless it is necessary?
-
-
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
3 hours, 47 minutes ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
12 hours, 6 minutes ago -
The incredible shrinking desktop icons
by
Thumper
18 hours, 7 minutes ago -
Windows 11 Insider Preview Build 22635.520 (23H2) released to BETA
by
joep517
19 hours, 39 minutes ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
10 hours, 20 minutes ago -
Shellbag Analyser & Cleaner Update
by
Microfix
20 hours, 7 minutes ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
1 day, 4 hours ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
9 hours, 26 minutes ago -
Speeding up 11’s search
by
Susan Bradley
14 hours, 29 minutes ago -
HP Pavilion Will Not Wake Up After Being Idle for Longer Period
by
WSwalterwood44
1 day, 1 hour ago -
Make a Windows 11 Local Account Passwordless
by
Drcard:))
1 day, 18 hours ago -
Ubuntu 25.04 (Plucky Puffin)
by
Alex5723
2 days, 2 hours ago -
24H2 fixed??
by
CWBillow
18 hours, 55 minutes ago -
Uninstalr Updates
by
jv16
2 days, 7 hours ago -
Apple zero days for April
by
Susan Bradley
1 day, 12 hours ago -
CVE program gets last-minute funding from CISA – and maybe a new home
by
Nibbled To Death By Ducks
1 day, 5 hours ago -
Whistleblower describes DOGE IT dept rumpus at America’s labor watchdog
by
Nibbled To Death By Ducks
3 days, 6 hours ago -
Seeing BSOD’s on 24H2?
by
Susan Bradley
2 days, 13 hours ago -
TUT For Private Llama LLM, Local Installation and Isolated from the Internet.
by
bbearren
2 days, 20 hours ago -
Upgrade from Windows 10 to 11
by
Holdsworth8
3 days, 15 hours ago -
Microsoft : AI-powered deception: Emerging fraud threats and countermeasures
by
Alex5723
3 days, 17 hours ago -
0patch
by
WSjcgc50
2 days, 18 hours ago -
Devices might encounter blue screen exception with the recent Windows updates
by
Susan Bradley
3 days, 11 hours ago -
Windows 11 Insider Preview Build 22631.5261 (23H2) released to Release Preview
by
joep517
3 days, 20 hours ago -
Problem opening image attachments
by
RobertG
3 days, 22 hours ago -
advice for setting up a new windows computer
by
routtco1001
4 days, 13 hours ago -
It’s Identity Theft Day!
by
Susan Bradley
12 hours, 44 minutes ago -
Android 15 require minimum 32GB of storage
by
Alex5723
4 days, 17 hours ago -
Mac Mini 2018, iPhone 6s 2015 Are Now Vintage
by
Alex5723
4 days, 18 hours ago -
Hertz says hackers stole customer credit card and driver’s license data
by
Alex5723
4 days, 18 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.