J
Jeffery
I would like to run a query from an unbound text box in a form to show a
value. When the form is open instead of a value I get a #name? display.
The control source for the text box is as follows:
=IIf([qryIncidentsCountClosed]![Count] Is
Null,"0",[qryIncidentsCountClosed]![Count]).
The underlying query (qryIncidentsCountClosed) is:
SELECT Count(tblIncident.IncidentNum) AS [Count]
FROM tblIncident
WHERE (((tblIncident.Critical)=-1) AND ((tblIncident.DateClosed) Is Not Null
And (tblIncident.DateClosed)>(Date()-365)) AND ((tblIncident.[Customer
Number])=[Forms]![Customers]![Customer Number]));
Any suggestions on how to get this to work?
I would like to display a count of open and closed incidents for the
customer when the form is open. The above stuff is for the count of closed
incidents.
Thanks
Jeff G
value. When the form is open instead of a value I get a #name? display.
The control source for the text box is as follows:
=IIf([qryIncidentsCountClosed]![Count] Is
Null,"0",[qryIncidentsCountClosed]![Count]).
The underlying query (qryIncidentsCountClosed) is:
SELECT Count(tblIncident.IncidentNum) AS [Count]
FROM tblIncident
WHERE (((tblIncident.Critical)=-1) AND ((tblIncident.DateClosed) Is Not Null
And (tblIncident.DateClosed)>(Date()-365)) AND ((tblIncident.[Customer
Number])=[Forms]![Customers]![Customer Number]));
Any suggestions on how to get this to work?
I would like to display a count of open and closed incidents for the
customer when the form is open. The above stuff is for the count of closed
incidents.
Thanks
Jeff G