dbTalk Databases Forums  

Looking up data in related table.

comp.database.ms-access comp.database.ms-access


Discuss Looking up data in related table. in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Elise
 
Posts: n/a

Default Looking up data in related table. - 09-02-2004 , 07:51 PM






Hey folks,

I'm quite sure I used to know how to do this and it was really easy,
but I've forgotten and it's driving me nuts. (I hardly ever use
Access.) Here is the situation.

I have a combo box that uses data from MasterList. It has three
columns:

MasterList.ID
MasterList.Name
MasterList.Frequency

..ID is the stored value. The combo box's .AfterUpdate function does
this:

[Me]!Frequency = Me.ComboBox.Column(2)

So, once you've picked you MasterList item, the Frequency box shows
the Frequency. But of course, MasterList.Frequency is a number which
relates to FrequencyList.ID. And of course, what I want to display in
this box is FrequencyList.Name. I'm sure that's ridiculously simple
but I just can't remember how. Argh!

Little help?

Thanks,

-
Elise

Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.