By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,917 Members | 1,313 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,917 IT Pros & Developers. It's quick & easy.

multiple column combobox with multiple bound columns or none. 3 field primary key

P: 3
I have a table that has a 3 field primary key. Company , Last Name first Name

I have a combobox that lists all three and populates 3 textboxes based upon the selected item. The problem seems to be that if I select a company with many employees it only selects the top row of the employeees. So if I have
compA bob bob
compB steve steve
And I select steve I get bob?
If I change the bound column to First name and there are multiple steves i get the top one not the one I selected.
Any ideas?

blizzardice
Sep 13 '07 #1
Share this Question
Share on Google+
1 Reply


MMcCarthy
Expert Mod 10K+
P: 14,534
Having a three field primary key is a very bad idea.

Have a look at this tutorial.

Database Normalisation and Table Structures
Sep 14 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.