Results 1 to 3 of 3
  1. #1
    ewassmer is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2011
    Posts
    20

    Report Footer "Missing Operator" message

    Hi all,
    I'm currently creating a report in Access 2003 and I get an error message when I enter a query into a text box control source.

    The query is for % Yield based on two number fields in a table, and is as follows:
    =(Sum[YardsOff])/(Sum[YardsOn])

    This would be displayed as a percent value through the format option.

    I have also tried it as
    =((Sum[YardsOff])/(Sum[YardsOn])


    =Sum[YardsOff]/Sum[YardsOn]
    =Sum([YardsOff]/[YardsOn])

    any insight? thanks!

  2. #2
    ewassmer is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2011
    Posts
    20
    Just an update-
    When I enter
    =Sum([YardsOff]/[YardsOn])
    I get an overflow message.

  3. #3
    ewassmer is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2011
    Posts
    20
    Well, I think I found my own solution:
    Sum(nz([YardsOff],0))/Sum(nz([YardsOn],0))

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Hide "#Errror" Field Message?
    By 10 Gauge in forum Forms
    Replies: 4
    Last Post: 09-08-2011, 10:31 AM
  2. Replies: 3
    Last Post: 07-23-2011, 09:12 AM
  3. Replies: 11
    Last Post: 11-26-2010, 10:53 PM
  4. Replies: 8
    Last Post: 11-12-2010, 10:55 AM
  5. Error message and How do I find the "value Field" ?
    By createdwithfire in forum Forms
    Replies: 1
    Last Post: 11-05-2009, 12:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums