Results 1 to 2 of 2
  1. #1
    altemir is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2012
    Posts
    31

    Unhappy OpenReport WHERE Condition Not Working

    The WHERE condition in the following code is producing a blank report with no data. How can this possibly be? Note that JobID is an integer field in the report's recordsource.

    DoCmd.OpenReport "rptProductionOrder", acViewPreview, , "JobID = 10"


    ********** PROBLEM SOLVED ************



    Underlying query for the report had an inner join instead of a left join, which restricted available records .... I feel foolish

  2. #2
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    You should mark this as solved so that it doesn't show as no one replied and still open.

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

Similar Threads

  1. OpenReport cancelled
    By wharting in forum Reports
    Replies: 15
    Last Post: 11-11-2011, 02:34 PM
  2. Replies: 1
    Last Post: 10-25-2011, 09:47 PM
  3. Pausing OpenReport
    By EES in forum Reports
    Replies: 5
    Last Post: 06-15-2011, 05:30 PM
  4. Replies: 3
    Last Post: 11-19-2010, 01:48 PM
  5. DoCmd OpenReport ... where condition with a Like
    By Grooz13 in forum Programming
    Replies: 4
    Last Post: 08-31-2010, 09:04 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