G
gmazza via AccessMonster.com
Hey there,
I'm trying to display information in a subform, based on the main form's
combo box.
The combo box's properties are the following:
Name: cboCriteria
RowSource: Select CriteriaId, CriteriaValue from Criteria Order by
CriteriaValue;
Bound Column: 1
Column Count: 2
Column Widths: 0";1"
The subform has a RecordSource of:
SELECT [CriteriaOption].[ClinicalTrialId],[CriteriaOption].[CriteriaId],
[CriteriaOption].[CriteriaOptionValue] FROM [CriteriaOption] where CriteriaId
= Forms!CriteriaOptions!cboCriteria
Its not working though, and I feel its because I am saying where CriteriaId =
the combo box, yet the combo box is displaying the CriteriaValue, not the
CriteriaId.
Could that be why?
I'm trying to display information in a subform, based on the main form's
combo box.
The combo box's properties are the following:
Name: cboCriteria
RowSource: Select CriteriaId, CriteriaValue from Criteria Order by
CriteriaValue;
Bound Column: 1
Column Count: 2
Column Widths: 0";1"
The subform has a RecordSource of:
SELECT [CriteriaOption].[ClinicalTrialId],[CriteriaOption].[CriteriaId],
[CriteriaOption].[CriteriaOptionValue] FROM [CriteriaOption] where CriteriaId
= Forms!CriteriaOptions!cboCriteria
Its not working though, and I feel its because I am saying where CriteriaId =
the combo box, yet the combo box is displaying the CriteriaValue, not the
CriteriaId.
Could that be why?