ThinWhiteDude
Technical User
I've done a pretty thorough search of the archives and haven't found an answer to this problem:
Here's the setup.
I have a form with a couple of comboboxes:
cboDept gets its values from tblDepartment
cboEmSrc gets its values from tblEmissionsSource
As each dept has different emissions sources, the cboEmSrc list depends on which department is chosen. So, for example, the Alcohol Department may have these choices:
#1 Vat
#2 Vat
500 Distiller
and the Lab dept will have a different list.
What I would like is that when someone chooses Alcohol and then #2 Vat and makes some entries in other fields, then they choose 500 Distiller and make some entries for that, when they go to switch to the 500 distiller, I'd like the #2 Vat to not be on the list, as they've just done that one.
Is this possible with a cbo based on a table? I've done this before using a Value list and the AddItem and RemoveItem methods, but can’t get it to work for a cbo that uses a table.
Any help you can give me will be greatly appreciated
TWD
Here's the setup.
I have a form with a couple of comboboxes:
cboDept gets its values from tblDepartment
cboEmSrc gets its values from tblEmissionsSource
As each dept has different emissions sources, the cboEmSrc list depends on which department is chosen. So, for example, the Alcohol Department may have these choices:
#1 Vat
#2 Vat
500 Distiller
and the Lab dept will have a different list.
What I would like is that when someone chooses Alcohol and then #2 Vat and makes some entries in other fields, then they choose 500 Distiller and make some entries for that, when they go to switch to the 500 distiller, I'd like the #2 Vat to not be on the list, as they've just done that one.
Is this possible with a cbo based on a table? I've done this before using a Value list and the AddItem and RemoveItem methods, but can’t get it to work for a cbo that uses a table.
Any help you can give me will be greatly appreciated
TWD