WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

One field dependent upon another in one table?

 
   Home -> Office other -> Table Design RSS
Next:  Database Window Size at Startup (?)  
Author Message
Insignia

External


Since: Jul 22, 2008
Posts: 1



(Msg. 1) Posted: Tue Jul 22, 2008 5:14 am
Post subject: One field dependent upon another in one table?
Archived from groups: microsoft>public>access>tablesdbdesign (more info?)

I am designing a database to track all of our listing information for a large
range of products that are sold to retailers.

I have created a field in the main table called "License" where the user is
given three options. THe field right next to License is called "Property"
where I'm hoping to make the options dependent upon what is chosen in the
License field. To explain this a little better, it would be like a user
selecting province/state, then their next selection would have cities/towns
in the state/province that the selected.

I'm not sure how to do this properly...any suggestions??

Thanks SO much in advance...I'm going crazy trying to figure this out!!!
Back to top
Login to vote
Jeff Boyce

External


Since: Oct 17, 2003
Posts: 2983



(Msg. 2) Posted: Tue Jul 22, 2008 6:55 am
Post subject: Re: One field dependent upon another in one table? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If you are intending to work directly in the table, step back for a moment.
Unlike Excel, where what you see (in the spreadsheet) is what you get,
Access tables (although they look like a spreadsheet) are simply "buckets o'
data". They are not intended (nor designed) for display use. That's what
forms (and reports) are for.

If you want to limit the possibilities of what gets put into the [Property]
field (by the way, this word is probably reserved in Access, so Access may
decide to do something you didn't expect if you use that word), do so via a
form.

Use a combobox to pick the value for [License], then add an AfterUpdate
event that requeries the combobox you use for [PropertyX]. The [PropertyX]
combobox needs to be based on a query that looks to the first combobox to
find a selection criterion for [License], thus limiting the values returned
for [PropertyX].

Good luck!

--
Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP
http://mvp.support.microsoft.com/

Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/


"Insignia" <Insignia RemoveThis @discussions.microsoft.com> wrote in message
news:9493B9FD-F1F5-4D99-81FF-1FB8BFD858FA@microsoft.com...
> I am designing a database to track all of our listing information for a
large
> range of products that are sold to retailers.
>
> I have created a field in the main table called "License" where the user
is
> given three options. THe field right next to License is called "Property"
> where I'm hoping to make the options dependent upon what is chosen in the
> License field. To explain this a little better, it would be like a user
> selecting province/state, then their next selection would have
cities/towns
> in the state/province that the selected.
>
> I'm not sure how to do this properly...any suggestions??
>
> Thanks SO much in advance...I'm going crazy trying to figure this out!!!
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Table Design All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET