Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Seminars   Templates   TechHelp   Fast Tips   Forums   Help   Contact   Join   Order   Logon  
 
Home > TechHelp > Directory > Access > Limit Long Text < Document Index | Transpose Data >
Limit Long Text
By Richard Rost   Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   3 months ago

Set a Maximum Size Limit for Long Text Fields


 S  M  L  XL  FS  |  Slo  Reg  Fast  2x  |  Bookmark Join Now

You can't set a maximum length for a long text field like you can for a short text field by setting the field size property. So in this Microsoft Access tutorial, I'll teach you how to use a validation rule to accomplish that task. Then, I'll show you a better method using the Before Update event and a tiny bit of VBA code. 

Chloe from Eugene, Oregon (a Platinum Member) asks: My company prepares insurance claims. We have to submit a form to the insurance company outlining the details of a claim, however they have a maximum of 1000 characters. Is there any way to set a max limit on long text fields like you can with short text? 

Members

Members will learn how to keep a running count of how many characters are remaining in a text box below your long text field. This way you can see the counter change each time you enter a character, and make it turn red when it's getting low. We'll learn about the Text and OldValue properties of a text box, the On Change event, and the On Undo events.  

Silver Members and up get access to view Extended Cut videos, when available. Gold Members can download the database template from class plus get access to the Code Vault. If you signed up on YouTube you have to register on my YouTube Find User page so I can set up your account here on my web site. If you're not a member, Join Today!

Recommended Course

Links

Learn More

FREE Access Beginner Level 1
Access Level 2 for $1.00

Free Templates

TechHelp Free Templates
Blank Template
Contact Management
Order Entry & Invoicing
More Access Templates

Resources

Mailing List - Get emails when new videos released
Consulting - Need help with your database
Tip Jar - Your tips are graciously accepted

Questions?

Please feel free to post your questions or comments below or post them in the Forums.

Keywords

access 2016, access 2019, access 2021, access 365, microsoft access, ms access, ms access tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, before update, beforeupdate, max field size for long text fields, memo, validation rule, on change event, change, .text property, text box .text, textbox.text property, On Undo event, OldValue

 

 

 

Comments for Limit Long Text
 
Age Subject From
3 monthsNo Text OptionStephen Kucinski
3 monthsAdd to a Long Text FieldGarry Smith

 

Start a NEW Conversation
 
Only students may post on this page. Click here for more information on how you can set up an account. If you are a student, please Log On first. Non-students may only post in the Visitor Forum.
 
Subscribe
Subscribe to Limit Long Text
Get notifications when this page is updated
 
 

Check out these other pages that may be of interest to you:

11/29/2022Date Buttons
11/29/2022Change Date Field
11/28/2022Top X
11/27/2022System Settings
11/25/2022Application Title
11/24/2022Full HTML Editor in Access
11/24/2022Change Database Title
11/23/2022Other Names
11/21/2022Check Icon File
11/21/2022Check Icon File
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
amicron@gmail.com
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn
Keywords: TechHelp Access before update, beforeupdate, max field size for long text fields, memo, validation rule, on change event, change, .text property, text box .text, textbox.text property, On Undo event, OldValue  PermaLink  Limit Long Text Field Size in Microsoft Access