Hi All,
Need help with the right statement for the following situation.
In Access97 I have a Form(frmComplai ntUpdate) which has a Tab
Control(called TabCtl987) with several tabs(first tab we'll call
tbComplInfo). tbComplInfo has a subform(sbfrmCo mplaintInfo), 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(lookin g at it in query grid mode)is
SELECT DISTINCTROW tblComplaintSta tusTypes.Status Description FROM
tblComplaintSta tusTypes WHERE
(((tblComplaint StatusTypes.Com plaintStatus)=[Forms]![frmComplaintUpd ate]![sbfrmComplaintI nfo].[Form]![cboStatus]));
What's Not working is the right side of the where clause -
[Forms]![frmComplaintUpd ate]![sbfrmComplaintI nfo].[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.
Need help with the right statement for the following situation.
In Access97 I have a Form(frmComplai ntUpdate) which has a Tab
Control(called TabCtl987) with several tabs(first tab we'll call
tbComplInfo). tbComplInfo has a subform(sbfrmCo mplaintInfo), 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(lookin g at it in query grid mode)is
SELECT DISTINCTROW tblComplaintSta tusTypes.Status Description FROM
tblComplaintSta tusTypes WHERE
(((tblComplaint StatusTypes.Com plaintStatus)=[Forms]![frmComplaintUpd ate]![sbfrmComplaintI nfo].[Form]![cboStatus]));
What's Not working is the right side of the where clause -
[Forms]![frmComplaintUpd ate]![sbfrmComplaintI nfo].[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.
Comment