Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Field calculation based on the field value in an open form

Status
Not open for further replies.

jaaret

Instructor
Jun 19, 2002
171
I am creating a report on quiz results. I'm attempting to add a field showing many times each answer option was selected as a percentage.

The number of times each answer option was selected is in the report's underlying query as [Selected]. The number of total respondents is in an open form: [Forms]![frmQuizzes]![txtResponseCount]. As independent fields, each of these controls display the correct value. However, when I attempt to employ them in a simple calculation:

=[Selected]/[Forms]![frmQuizzes]![txtResponseCount]

The result is #Error.Why is this not working?
 
Disregard - I closed and re-opened the database and it's calculating correctly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top