A
Ann
I've created a table called tblNumberOfSurveys from an append query that has
the following fields: txtCourseTitle, lngNumberOfSurveys and Date. I need to
use this in a DLookup in a report I have created.
The report is rptQuestionsOneAndFive that has calculations in the
txtCourseTitleFooter. Since these are by the title of each course I am
grouping by txtCourseTitle. What I've done is add the following code to a
text box within the footer:
=DLookUp("[lngNumberOfSurveys]","tblNumberOfSurveys","txtCourseTitle = " &
Forms!rptQuestionsOneAndFive!txtCourseTitle). When I run the report I
receive the following on my DLookup, #Name?. I have check everything to make
sure they are spelled correctly. There are only three titles in my
tblNumberOfSurveys and they are the same three titles that appear on my
report. I'm a beginning in VB so I can't figure out why I don't get the
lngNumberOfSurveys number when I run my report. Can anyone help me out?
the following fields: txtCourseTitle, lngNumberOfSurveys and Date. I need to
use this in a DLookup in a report I have created.
The report is rptQuestionsOneAndFive that has calculations in the
txtCourseTitleFooter. Since these are by the title of each course I am
grouping by txtCourseTitle. What I've done is add the following code to a
text box within the footer:
=DLookUp("[lngNumberOfSurveys]","tblNumberOfSurveys","txtCourseTitle = " &
Forms!rptQuestionsOneAndFive!txtCourseTitle). When I run the report I
receive the following on my DLookup, #Name?. I have check everything to make
sure they are spelled correctly. There are only three titles in my
tblNumberOfSurveys and they are the same three titles that appear on my
report. I'm a beginning in VB so I can't figure out why I don't get the
lngNumberOfSurveys number when I run my report. Can anyone help me out?