Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Change Case    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
After Update
Dan Jackson 
            
4 years ago
Hey,

This is cool. I've followed the Ext Cut to create the Global but would like the field to update automatically upon entry instead of having to run an update query.

I notice you have the AfterUpdate link which is what i want to use but its very generic. How would i apply AfterUpdate to this scenario?

I'm assuming I set up the proper case field in the query but instead of displaying it on the form, i use the AfterUpdate to replace the value in "Surname" with the value in "MPC"

so

- Enter bad name in surname field on form: jackson
- MPC field in the query converts to Jackson
- The AfterUpdate Event replaces the entry in surname with the data in "MPC" field.

How do i do step 3? Many thanks
Adam Schwanz  @Reply  
           
4 years ago
You can just do this in the after update
FieldName = StrConv(FieldName, vbProperCase)
Adam Schwanz  @Reply  
           
4 years ago
I haven't seen the video in ages but it appears if you want to use the MPC all you would need to do is
FieldName = MyProperCase(FieldName)
Scott Axton  @Reply  
        
4 years ago
Dan to do it on the fly - not in the query you would just have to do the same thing it the AfterUpdate of each field you want it to work with.

     YourField = MyProperCase(YourField)

     FirstName = MyProperCase(FirstName)


Dan Jackson OP  @Reply  
            
4 years ago
Cool, works a treat, thanks. Glad i can do it on the fly rather than through a query - much better. Got an issue with handling of null values but posted that as a question earlier so will see how it goes. Thanks again
Dan Jackson OP  @Reply  
            
4 years ago

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Change Case.
 

Next Unseen

 
New Feature: Comment Live View
 
 

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 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 3/7/2026 1:38:32 AM. PLT: 0s