Hi All,
Need help with the right statement for the following situation.
In Access97 I have a Form(frmComplaintUpdate) which has a Tab
Control(called TabCtl987) with several tabs(first tab we'll call
tbComplInfo). tbComplInfo has a subform(sbfrmComplaintInfo), on it,
that subform has two dropdowns(names-cboStatus, cboStatDesc).
The values displayed in the second dropdown are dependant on the value
chosen in the first dropdown. So, in the rowsource of the second
dropdown(looking at it in query grid mode)is
SELECT DISTINCTROW tblComplaintStatusTypes.StatusDescription FROM
tblComplaintStatusTypes WHERE
(((tblComplaintStatusTypes.ComplaintStatus)=[Forms]![frmComplaintUpdate]![sbfrmComplaintInfo].[Form]![cboStatus]));
What's Not working is the right side of the where clause -
[Forms]![frmComplaintUpdate]![sbfrmComplaintInfo].[Form]![cboStatus]
I know it's the syntax of it and that's what I'm stuck on, how do
I express
Display Status Descriptions Where ComplaintStatus equals the value
selected in cboStatus which sits on a subform which sits on a tab which
is in a tabcontrol which sits on a form
Thanks in advance for any assistance with this
bobh.