S
Sandy
Hi!
I'm using a form using a list box to select name and 2 text boxes to
select a date range. Once the information is selected, it produces a
report listing the completed projects. I have a project type header
that counts the number of projects in each project type. Project type
is ALWAYS filled in and has NO null values - it is also a character
field. As the name and dates are selected, everything is fine - until
there is no project completed within the dates specified for that name.
Then, I get an Error# where there count is supposed to be on the
report. Also, because the name in the title pulls from the query as
well, the name is blank. What I would be ideal is for the name to
populate even though there are no values for the name and the Error# to
be replaced with a zero.
I've tried using the formula (in the control source), which I found
from someone having a similar problem years ago.
IIF(IsNull([CourseID]=True),0,Count([CourseID])) (of course,
replacing courseID with projecttype)
However, this does not seem to solve either of my issues.
I'm hesitant to use too much VBA, since my knowledge is very limited at
this time.
Does anyone have any other suggestions?
Thanks!
Sandy
I'm using a form using a list box to select name and 2 text boxes to
select a date range. Once the information is selected, it produces a
report listing the completed projects. I have a project type header
that counts the number of projects in each project type. Project type
is ALWAYS filled in and has NO null values - it is also a character
field. As the name and dates are selected, everything is fine - until
there is no project completed within the dates specified for that name.
Then, I get an Error# where there count is supposed to be on the
report. Also, because the name in the title pulls from the query as
well, the name is blank. What I would be ideal is for the name to
populate even though there are no values for the name and the Error# to
be replaced with a zero.
I've tried using the formula (in the control source), which I found
from someone having a similar problem years ago.
IIF(IsNull([CourseID]=True),0,Count([CourseID])) (of course,
replacing courseID with projecttype)
However, this does not seem to solve either of my issues.
I'm hesitant to use too much VBA, since my knowledge is very limited at
this time.
Does anyone have any other suggestions?
Thanks!
Sandy