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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Combo Box Problems



 
 
Thread Tools Display Modes
  #1  
Old September 4th, 2008, 05:37 PM posted to microsoft.public.access.tablesdbdesign
Prescott
external usenet poster
 
Posts: 4
Default Combo Box Problems

I need to set up a combo box that will pull up options based on a list of
values.

if material is CPVC then list all sizes that cvpc can be but do not display
other material sizes. like wise for steel, etc. all materials will have
sizes but not all materials will have all sizes. but I have a list of
materials and a list of sizes, my parts list will pull from the materials
sheet but it will not pull sizes from the sizes sheet based on the material
type.

This is the sql for the row source I am using for geting this is from the
other table is as follows - Any Ideas where I am going wrong?


SELECT Mastersizelist.SIZE FROM MASTERSIZELIST WHERE
(((MASTERSIZELIST.SIZE)=MASTERLIST.MATERIAL)) ORDER BY Mastersizelist.SIZE;
  #2  
Old September 4th, 2008, 08:59 PM posted to microsoft.public.access.tablesdbdesign
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Combo Box Problems

Search on Cascading Combos.
--
KARL DEWEY
Build a little - Test a little


"Prescott" wrote:

I need to set up a combo box that will pull up options based on a list of
values.

if material is CPVC then list all sizes that cvpc can be but do not display
other material sizes. like wise for steel, etc. all materials will have
sizes but not all materials will have all sizes. but I have a list of
materials and a list of sizes, my parts list will pull from the materials
sheet but it will not pull sizes from the sizes sheet based on the material
type.

This is the sql for the row source I am using for geting this is from the
other table is as follows - Any Ideas where I am going wrong?


SELECT Mastersizelist.SIZE FROM MASTERSIZELIST WHERE
(((MASTERSIZELIST.SIZE)=MASTERLIST.MATERIAL)) ORDER BY Mastersizelist.SIZE;

 




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 01:13 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.