Results 1 to 6 of 6
  1. #1
    windwardmi's Avatar
    windwardmi is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Apr 2010
    Location
    NewJersey
    Posts
    46

    Report displays no records

    I have created a Report with a query record source using multiple tables.

    The tables are filled by input into a detail form.

    When I fill in all the data in the detail form I can call a Report showing the Data for a specific project no.

    If I am missing one item of data and leave it's combo box empty on the detail form the report for that project no. does not show any data. I need to fill in that missing data to get a filled in Report.

    What can be the reason for this to happen? Is there a property I might have missed that is toggled to require all data or none at all if one piece is missing in the Query?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    This is a bit of a guess, but if you have the query in design view, right click on the join line between the relevant tables. Change the selection to "All data from table xxx" or whatever the verbiage is. That will change the join from the default, which requires matching values in both tables to return a record.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    windwardmi's Avatar
    windwardmi is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Apr 2010
    Location
    NewJersey
    Posts
    46
    Tried to change joins and got following error:

    "The SQL statement could not be executed because it contains ambiguous outer joins. To force one of the joins to be performed first, create a separate query that performs the first join and then include that query in your SQL statement. "

    I'm novice. Will I have to start from scratch and set table relationships again and set up new query for report?

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Can you post the db, or a sample containing the query and relevant tables?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    windwardmi's Avatar
    windwardmi is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Apr 2010
    Location
    NewJersey
    Posts
    46
    Thought I posted this already. Attached is some info.

    Can the DB be attached without data which might be confidential and not safe on the internet? And how is that done.

  6. #6
    windwardmi's Avatar
    windwardmi is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Apr 2010
    Location
    NewJersey
    Posts
    46
    Anything further needed before I start from scratch with the Table reationships?

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

Similar Threads

  1. Replies: 4
    Last Post: 09-24-2010, 11:23 PM
  2. Form displays ID number, not data
    By Twimm in forum Forms
    Replies: 5
    Last Post: 07-13-2010, 03:04 PM
  3. Field displays number instead of value
    By rdueck in forum Reports
    Replies: 6
    Last Post: 02-25-2010, 08:19 PM
  4. Problem Selecting Records for a Report
    By Joe in forum Programming
    Replies: 0
    Last Post: 09-27-2008, 02:27 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