chrisjames25
Registered User.
- Local time
- Today, 06:04
- Joined
- Dec 1, 2014
- Messages
- 404
HI
I have a main form with a category cbo, genus cbo and the na textbox to enter a vareity name in.
I have a subform that when the main form opens its shows a list of all the varieties on the database. When i choose a category form the category_cbo it filters the subform list to only show varieties within that category. When i then choose a genus from the genus_cbo it then further filters the variteis in the subform to show only varieties that are within the category and genus.
Please see attached query that makes this happen.
This worked great until i had a situation where a clematis id was 1 and genus id selected was 3 but it showed all the varieties with genus id 3 and 83.
How can i redo my query to eliminate this issue. Do i have to search the genus name rather than the genus id which is the second column in the cbo rather than first. If this is the solution how do i write that in the query
I have a main form with a category cbo, genus cbo and the na textbox to enter a vareity name in.
I have a subform that when the main form opens its shows a list of all the varieties on the database. When i choose a category form the category_cbo it filters the subform list to only show varieties within that category. When i then choose a genus from the genus_cbo it then further filters the variteis in the subform to show only varieties that are within the category and genus.
Please see attached query that makes this happen.
This worked great until i had a situation where a clematis id was 1 and genus id selected was 3 but it showed all the varieties with genus id 3 and 83.
How can i redo my query to eliminate this issue. Do i have to search the genus name rather than the genus id which is the second column in the cbo rather than first. If this is the solution how do i write that in the query