Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > TechHelp > Directory > Access > String Functions < Print Documents | AutoText >
String Functions
By Richard Rost   Richard Rost on LinkedIn Email Richard Rost   3 years ago

Access String Functions: Left, Right, Mid, Len, InStr


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

In this video I will teach you how to use the string functions in Microsoft Access to make sure users are entering valid part numbers according to a set of rules. We will learn about the Left, Right, Mid, Len, and InStr functions.

Zoe from Great Falls, Montana (a Platinum Member) asks: When placing an order with our primary supplier, we have to make sure the part number is valid. They have a gigantic database of parts, and it changes constantly, so looking up each part number isn't practical. They do, however have a specific format for all of their part numbers. If I could just make sure my users are typing the part numbers in the correct format, that would eliminate 99% of my problems. I import most of this data from Excel sheets, so I can't use an Input Mask. You wouldn't believe the junk I have to correct! Can you help me, please!?

Part Number Rules: Has to start with the letter P. The right 3 characters have to be a number greater than 100. The 5th character has to be a hyphen. The whole string has to be exactly 9 characters long. The letter X must be included somewhere in the string.

Members

Members will learn how to use the string functions in VBA to make sure users are entering in valid passwords. We will learn how to do a binary search (to tell capital from lowercase letters) with Option Compare Binary or StrComp function, and to determine if a string contains ANY character from an allowed list. We'll write our own IsFound function - is any character from string 1 found inside of string 2.

Leon from Bismark, North Dakota (a Gold Member) asks: I created a form allowing my employees to change their password. They must enter their current password and then create a new password, and verify the password by entering it twice. I check that the new password is not the same as the current password. I want to include all the parameters that strengthens the password. I appreciate your help. 

Password Rules: The first character has to be a capital letter. The password must contain both capital and lowercase letters, plus at least one numeric digit and one special character: !-_#$@%+

Silver Members and up get access to view Extended Cut videos, when available. Gold Members can download the files from class plus get access to the Code Vault. If you're not a member, Join Today!

Links

Learn More

FREE Access Beginner Level 1
FREE Access Quick Start in 30 Minutes
Access Level 2 for just $1

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

microsoft access, ms access, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #instruction, #learn, #lesson, #training, #database, left, right, mid, len, instr, strcomp, part numbers, change passwords, option compare binary, capital, lowercase, numeric, digits, one string found inside another, isfound, any character found in a string, allowed characters list

 

Comments for String Functions
 
Age Subject From
2 monthsPassword ChecksKevin Robertson
14 monthsUpdate PasswordNathan Shepard
21 monthsModulesKirby Records
3 yearsPassword VideoLeon Heick

 

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 String Functions
Get notifications when this page is updated
 
 
 
 

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
PCResale.NET
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
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 12/13/2024 4:58:24 PM. PLT: 1s
Keywords: TechHelp Access left, right, mid, len, instr, strcomp, part numbers, change passwords, option compare binary, capital, lowercase, numeric, digits, one string found inside another, isfound, strcmp, strncmp, case sensitive  PermaLink  String Functions in Microsoft Access