Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / January 2005

Tip: Looking for answers? Try searching our database.

One Portion of Select Fails

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Martin - 31 Jan 2005 15:15 GMT
I have a report selecting data from several tables--a "Main" table with
several supporting tables providing descriptions, costs, etc.  When I run the
report, no data is displayed, even though I know there is data in the tables.

From what I have worked thru, it appears that one of the supporting table
connections is not producing any data.  (In my case, it is simply supposed to
find a description of the value in the Main table.)  This seems to be driving
the entire report to not produce data.  When I remove this connection from
the report, it runs fine.

Is there a way I can test for this type of condition and still allow the
report to run?  In my example, I could display a default description if the
connection does not produce data.  Since this report is designed to audit
data in the tables, this would provide information to the user to determine
the best course of action to correct the problem.

Please be as descriptive as possible as I am not an Access expert.

Thanks.
Allen Browne - 31 Jan 2005 15:26 GMT
You have a report based on a query that includes multiple tables?

There are 2 issues that could cause the query to not produce any records for
the report: using an inner join (you need an outer join), and using criteria
on fields with Null.

For details on how to solve both issues, see:
   The Query Lost My Records!
at:
   http://members.iinet.net.au/~allenbrowne/casu-02.html

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

>I have a report selecting data from several tables--a "Main" table with
> several supporting tables providing descriptions, costs, etc.  When I run
[quoted text clipped - 21 lines]
>
> Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.