469,890 Members | 1,430 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,890 developers. It's quick & easy.

SELECT statement with WHERE clause

30
There are two combo boxes in my form: CORP and CLASS. The WHERE clause of the SELECT statement in the Row Source Property of the CLASS combo box works only every time I start the form. It does not change the list options when I select another ID from CORP combo box. Why is this so?

Here is my select statement

Expand|Select|Wrap|Line Numbers
  1. SELECT [tblTYPE].[tech], [tblTYPE].[corp] FROM Courses WHERE [tblTYPE].[corp]=form.ID ORDER BY [tblTYPE].[tech];
  2.  
tblTYPE is the table for CLASS.

Thank you in advance.
Dec 10 '07 #1
1 2529
ebo2006
30
There are two combo boxes in my form: CORP and CLASS. The WHERE clause of the SELECT statement in the Row Source Property of the CLASS combo box works only every time I start the form. It does not change the list options when I select another ID from CORP combo box. Why is this so?

Here is my select statement

Expand|Select|Wrap|Line Numbers
  1. SELECT [tblTYPE].[tech], [tblTYPE].[corp] FROM Courses WHERE [tblTYPE].[corp]=form.ID ORDER BY [tblTYPE].[tech];
  2.  
tblTYPE is the table for CLASS.

Thank you in advance.
Hey guys, you need not reply . I got it. Thanks anyway.
Dec 14 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by brett | last post: by
3 posts views Thread by Tcs | last post: by
2 posts views Thread by Eitan | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.