G
Guest
Hey, I'm looking for the proper syntax. (Access 97) I have a code table,
which contains 3 fields, code, description and type. Sample entries would
be
High, High Risk, RISKTYPE
Medium, Medium Risk, RISKTYPE
Daily, Daily Transaction, FREQUENCY
Monthly, Monthly Transaction, FREQUENCY
I have created a generic query named CODE LOOKUP,
SELECT Code.code, Code.description, Code.type FROM Code;
which I have assigned to the ROWSOURCE property of the combo box.
and then depending on which combo box has the focus supply the where clause.
IE if I am focused on the Frequency ComboBox the where clause would be
WHERE (((Code.type)="FREQUENCY"));
if the focus is the RISKTYPE combo box then the where clause would be WHERE
(((Code.type)="RiskRate"));
IS there a way to concatenate the specific whereclause at the rowsource
property or using an event procedure?
Thanks
which contains 3 fields, code, description and type. Sample entries would
be
High, High Risk, RISKTYPE
Medium, Medium Risk, RISKTYPE
Daily, Daily Transaction, FREQUENCY
Monthly, Monthly Transaction, FREQUENCY
I have created a generic query named CODE LOOKUP,
SELECT Code.code, Code.description, Code.type FROM Code;
which I have assigned to the ROWSOURCE property of the combo box.
and then depending on which combo box has the focus supply the where clause.
IE if I am focused on the Frequency ComboBox the where clause would be
WHERE (((Code.type)="FREQUENCY"));
if the focus is the RISKTYPE combo box then the where clause would be WHERE
(((Code.type)="RiskRate"));
IS there a way to concatenate the specific whereclause at the rowsource
property or using an event procedure?
Thanks