I want to use a combo box with a filter (I think filter) -
I have a farmer with 2 chicken houses and I want the end user to choose the farmer then have the combo box list the chicken houses and allow them to select which number house. (some farmers just have 1 some have 4, etc.)
ex.
farmer: chicken house number:
Bob 2
Bob is a list box already (with farmer ID). Some farmers have 5 houses some have 4, etc. I only want the list box to show the numbers 1 - 2 - 3 if the farmer only has 3 houses & then the end user can select the house number and if the farmer has just one house I only want the number 1 to show on list box.
farmer is a field
total number of chicken houses is a field
I want the control -that is selected -to be bound to the table (so I have another field as chicken house select)
any ideas - I am pretty sure I need code on this
I have a farmer with 2 chicken houses and I want the end user to choose the farmer then have the combo box list the chicken houses and allow them to select which number house. (some farmers just have 1 some have 4, etc.)
ex.
farmer: chicken house number:
Bob 2
Bob is a list box already (with farmer ID). Some farmers have 5 houses some have 4, etc. I only want the list box to show the numbers 1 - 2 - 3 if the farmer only has 3 houses & then the end user can select the house number and if the farmer has just one house I only want the number 1 to show on list box.
farmer is a field
total number of chicken houses is a field
I want the control -that is selected -to be bound to the table (so I have another field as chicken house select)
any ideas - I am pretty sure I need code on this