Results 1 to 2 of 2
  1. #1
    salisbut is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2010
    Posts
    52

    Return 0 instead of null


    I thought this was a simple problem, but I cannot make progress on it no matter how many IsNull or Nz functions I try. In the database attached, in qryReturnArrowRock and qrySaleArrowRock I want the MW and $ to return 0 if there are no records. This is the problem is that there are no null values to convert to 0! I looked at this article for awhile, http://www.databasejournal.com/featu...-not-there.htm but couldn't quite get it to work on mine. A good month to test on the Arrowrock queries is July 2010 and you should not return any values. Queries can be generated by using frmWholesale. Any help would be appreciated...Thanks!

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    if you want someone to help, try posting it in mdb format

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

Similar Threads

  1. Specify return value
    By Desstro in forum Queries
    Replies: 2
    Last Post: 06-19-2010, 02:12 AM
  2. Replies: 6
    Last Post: 02-19-2010, 03:52 PM
  3. Return value of row above
    By marimar1097 in forum Access
    Replies: 7
    Last Post: 10-20-2009, 08:06 AM
  4. Is null problem
    By rockape in forum Programming
    Replies: 5
    Last Post: 09-29-2009, 12:46 PM
  5. Replacing Null with 0
    By gilagain1 in forum Queries
    Replies: 5
    Last Post: 04-23-2009, 01:47 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