Jump to content
Sign in to follow this  
shorty

Popup List from Related Field

Recommended Posts

I have a table called Tenant, it has a field called Property that is a drop down value list which the values comes from the Properties table. In my table Tenant, I also have a field called Unit #, it is a look up field from Properties table. Now that would work normally except when I enter 1126 Brookeridge I would like the Unit # to show a list of the Units there (that would be 1 through 10) but instead it only shows me the first one. I know that when I specified my lookup it says that it will copy the first value from the related item. But I know I have seen other databases do this. Any help would be appreciated.

Share this post


Link to post
Share on other sites

You can keep Unit# a lookup if you want, but it will only display the first value it finds. What you really want is another popup menu on your UnitID field that has a value list of Units. This value list is a related value list using the relationship Property::Units by PropertyID.

Therefore, in the Tenant record you store the PropertyID and the UnitID.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.