Create a query named QryTypeGen based on your table and only include the
field TypeGen. Set Sort ascending. For the first Cbo, make this query the
rowsource. Set the Bound Column 1, Column Count 1 and Column Width 1.5. Name
the Cbo CboTypeGen. Create a second query named QryTypeSpe based on your
table and include TypeSpe in the first field and TypeGen in the second
field. Set the criteria for TypeGen as:
Forms!NameOfYourForm!CboTypeGen. For the second Cbo, make this query the
rowsource. Set the Bound Column 1, Column Count 1 and Column Width 2.5. Name
the Cbo CboTypeSpe. Enter the folowing code in the AfterUpdate event of
CboTypeGen:
Me!CboTypeSpe.Requery
Me!CboTypeSpe.SetFocus
Me!CboTypeSpe.DropDown
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
resource@pcdatasheet.com
www.pcdatasheet.com
> Can someone help me, I've looked at several samples of this type cbo on a
> form but I can not get this to work. I have a table called Type - which has
[quoted text clipped - 13 lines]
>
> Keith
King Kaos - 23 Jan 2005 20:41 GMT
you are a god - I have been working on this for several days to have this
form complete a simple task
thank you
Keith
> Create a query named QryTypeGen based on your table and only include the
> field TypeGen. Set Sort ascending. For the first Cbo, make this query the
[quoted text clipped - 41 lines]
>>
>> Keith