A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Forms entering unique ID instead of name, how to switch?



 
 
Thread Tools Display Modes
  #1  
Old December 21st, 2006, 10:15 PM posted to microsoft.public.access.forms
Sam
external usenet poster
 
Posts: 855
Default Forms entering unique ID instead of name, how to switch?

Hello! When a user enteres information on the form and submits it, the
database shows the unique ID number of the (for example) doctors name that
was selected instead of the name itself. Why is this, and is there anyway to
switch this around so when they select the doctor (from a dropdown), it
actually inputs the doctors name instead of that ID number?

Thanks!
  #2  
Old December 21st, 2006, 11:44 PM posted to microsoft.public.access.forms
John Vinson
external usenet poster
 
Posts: 4,033
Default Forms entering unique ID instead of name, how to switch?

On Thu, 21 Dec 2006 14:15:01 -0800, Sam
wrote:

Hello! When a user enteres information on the form and submits it, the
database shows the unique ID number of the (for example) doctors name that
was selected instead of the name itself. Why is this, and is there anyway to
switch this around so when they select the doctor (from a dropdown), it
actually inputs the doctors name instead of that ID number?


It's doing that because that's the CORRECT WAY TO DO IT.

With a relational database, you store variable information - such as
names - once, and once only (in the Doctors table for example). If you
need information about a doctor in another table, you store the
numeric DoctorID. If the doctor's name is changed (perhaps she got
married), you can now change it once, and have the correct name
displayed wherever you have a DoctorID stored.

If you're assuming that table datasheets should display all the
information in a human-readable way - lose that assumption. Tables are
for data STORAGE, not for editing or data display - that's the
function of Forms. And your form (with combo boxes) is evidently doing
its job correctly!

John W. Vinson[MVP]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:33 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.