Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > Courses > Access > Expert > X03 > < X02 | X04 >
Back to Access Expert 3    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Customer Combo
Patricia Tonge 
    
2 years ago
In Expert 2 Lesson 4 we created a customer combo for contact form.BUT when I change the customer combo box this modifies who this entry is about. This issue was raised in comments for Expert2 Lesson4 and answer suggested by Alex was to set the locked property to YES. That works fine but now I cannot select a customer for new contact calls received because that is locked. How can I permit selection of customer without asigning any existing call to another customer please? Thanks.
Patricia Tonge OP  @Reply  
    
2 years ago
Further to my previous post - would the answer be to enable popup and modal properties for the form? Sorry if I am being dense and my questions seem silly.
Kevin Robertson  @Reply  
           
2 years ago
You could ask your users if they are sure they want to change the customer in the Before Update event.
Similar to this:

Private Sub cboCustomers_BeforeUpdate(Cancel As Integer)

    If Not Me.NewRecord Then
        If MsgBox("This will change the customer. Are you sure?", _
                vbYesNoCancel + vbQuestion, "Change Customer") <> vbYes Then
            Cancel = True
            cboCustomers.Undo
        End If
    End If
    
End Sub


Or you could require them to enter a password: see the Simple Security video to see how to do this.
Patricia Tonge OP  @Reply  
    
2 years ago
Thank you Kevin. I am a novice and I have not yet used Before Update events and also only used a very little amount of code whilst following the lessons. To be honest it was a case of monkey see, monkey do I'm afraid. I followed Richard's video instructions to the letter. When I get a bit further into the course I will come back to your advice here and think about it some more. In the meantime thanks again for your reply.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Expert 3.
 

Next Unseen

 
 
 

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 2025 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 12/9/2025 6:58:20 PM. PLT: 1s