J
Jim Shaw
I need to filter the value list in a combobox.
I have tables as follows:
tblA:
----
RecID Autonumber (Primary key)
ReasonCode Text (Uses combo box lookup into tblB)
tblB:
----
RecID Autonumber (Primary key)
ActionType Integer
ReasonCode Text
ReasonDescr Text
These tables are related on the ReasonCode Field.
I have a form bound to tblA
frmA:
----
cboReason (bound to tblA.ReasonCode,
4columns - widths = 0;0;0;3
bound column = 3)
optActionType Integer (unbound option box)
Users of frmA will not have to memorize the reason codes
due to the fact that I only display the Reason
Description. This is good and I need to keep this feature.
However, I need to restrict the reason codes available to
the user to that with a matching ActionType. How do I
apply this restriction to my design?
Thanks
I have tables as follows:
tblA:
----
RecID Autonumber (Primary key)
ReasonCode Text (Uses combo box lookup into tblB)
tblB:
----
RecID Autonumber (Primary key)
ActionType Integer
ReasonCode Text
ReasonDescr Text
These tables are related on the ReasonCode Field.
I have a form bound to tblA
frmA:
----
cboReason (bound to tblA.ReasonCode,
4columns - widths = 0;0;0;3
bound column = 3)
optActionType Integer (unbound option box)
Users of frmA will not have to memorize the reason codes
due to the fact that I only display the Reason
Description. This is good and I need to keep this feature.
However, I need to restrict the reason codes available to
the user to that with a matching ActionType. How do I
apply this restriction to my design?
Thanks