Results 1 to 2 of 2
  1. #1
    Epona is offline Novice
    Windows Vista Access 2007
    Join Date
    Feb 2012
    Location
    South Africa
    Posts
    26

    Being Stupid - #div/0


    How do you do an iferror function in access? or in this case if result = #div/0 then use a different formula

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    You can:

    - use the ISERROR() function

    - use an error handler routine and check for trappable errors. Div by zero is #11 (see trappable errors in Help)

    - check for a NULL or zero value before dividing.


    Maybe post your code so we can look at it and make suggestions to modify the formula??

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

Similar Threads

  1. Maybe a stupid question
    By rbiggs in forum Programming
    Replies: 1
    Last Post: 08-23-2011, 05:29 PM
  2. Stupid Question
    By ellixer in forum Queries
    Replies: 1
    Last Post: 06-30-2011, 09:33 AM
  3. Stupid Question ?
    By nood in forum Forms
    Replies: 3
    Last Post: 09-29-2010, 07:54 AM
  4. I can't be this stupid
    By corquando in forum Import/Export Data
    Replies: 2
    Last Post: 03-01-2010, 04:12 PM
  5. Why is Access so stupid?
    By dvongrad in forum Queries
    Replies: 1
    Last Post: 11-14-2009, 10:14 AM

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