Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Broken cbo when split
Nikki Wilcox 
  
2 years ago
I have a combo box (staffiD) that populates 4 fields (First, Last, Email, and Program) in my form. when I split the database the combo box only populates the Email and Program fields. How do I get it back to populating the First and Last fields?
Sami Shamma  @Reply  
             
2 years ago
How are you doing the population?
Nikki Wilcox OP  @Reply  
  
2 years ago
with this code:

Me.txtStaffFirst.Value = Me.cboStaffID.Column(1)
Me.txtStaffLast.Value = Me.cboStaffID.Column(2)
Me.txtStaffEmail.Value = Me.cboStaffID.Column(3)
Me.txtStaffProgram.Value = Me.cboStaffID.Column(4)
Sami Shamma  @Reply  
             
2 years ago
You know that Combo.Column(0) is the first column. could that be the problem?
Nikki Wilcox OP  @Reply  
  
2 years ago
it works when I'm building the form, so I don't think so,  and it only breaks the first and last name process when I split the database.  After splitting the Email and Program fields continue to populate just not the first and last name fields.
Kevin Robertson  @Reply  
           
2 years ago
Your code can be simplified:
    txtStaffFirst = cboStaffID.Column(1)
    txtStaffLast = cboStaffID.Column(2)
    txtStaffEmail = cboStaffID.Column(3)
    txtStaffProgram = cboStaffID.Column(4)


As to your problem we will need more information (screenshots, Row Source of your Combo Box, Property Sheet).
Any relevant information to help us troubleshoot your problem.

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

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: 5/7/2026 11:42:56 AM. PLT: 1s