Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Database Design / January 2004

Tip: Looking for answers? Try searching our database.

combo box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
René - 11 Jan 2004 07:11 GMT
I have a combo box on a form where we can choose from a list a physcian for a particular clien

I had the combo box set up and then realized that I had set all of my primary keys of the names of clients or employee

I went through and added CustomerID and EmployeeID and changed all the relationships so that they were correct

In my Customer table there is a field for DoctorID and Dr Nam

I tried to redo the combo box and now that Doctor ID shows up in the combo box instead of the Dr Name and the DoctorID is not carrying over into the Customer table.  I need this for letters to be mailed to the respective physicians later

In fixing things, I believe that I have screwed them up  :(
Duane Hookom - 11 Jan 2004 18:08 GMT
You should only store the DoctorID in the related tables. You can always add
the Doctor table to any queries in a report or form. Storing the Dr Name in
more than one place is generally not good practice.

Combo boxes on forms could have a
Control Source: DoctorID
Row Source: Select DoctorID, DrFirstName & " " & DrLastName FROM tblDoctors
ORDER BY DrFirstName, DrLastName;
Bound Column: 1
Column Count: 2
Column Widths: 0, 2

Signature

Duane Hookom
MS Access MVP

> I have a combo box on a form where we can choose from a list a physcian for a particular client
>
[quoted text clipped - 5 lines]
>
> I tried to redo the combo box and now that Doctor ID shows up in the combo box instead of the Dr Name and the DoctorID is not carrying over into the
Customer table.  I need this for letters to be mailed to the respective
physicians later.

> In fixing things, I believe that I have screwed them up  :(
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.