Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 2nd, 2007, 04:35 AM
Authorized User
 
Join Date: Mar 2006
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default Show articles in report that are not in form

Hiya folks,

Its like this.....

I have a list of products:

Let us assume my list includes 4 products:

Strawberry Jam
Raspberry Jam
Marmalade
Honey

Each day I register the sales from these articles.

Let us assume that on each day, there are articles that were not sold. Is it possible to create a report that lists the articles that were NOT sold for each day, without having to register 0 (zero) sales in the form for that article?

Thank you!
 
Old August 6th, 2007, 11:21 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Yes.

Create a query (Call it qryProductList)on the product table that has these names in it only:

Strawberry Jam
Raspberry Jam
Marmalade
Honey

Then create a Find UnMatched Query using the wizard to find where items in the qryProductList are unmatched on the Sales table.

You will have to create the query first using the wizard, and then add parameters to it.

So if you have a form that has a date picker or combo box (based on sales dates) then add that column to your unmatched query, and then put this in the Criteria Line:

[Forms]![frmSalesReport].[cboDateCombo]

This will find unmatched products from the sales table for that day.

Did that help?

mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
crystal report does not show up in vb6 JOAT VB How-To 9 January 15th, 2008 10:52 AM
How to Show Form AccessAasif@aol.com C# 2005 1 November 30th, 2007 03:44 PM
Recent articles not showing on articles page kherrerab BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 December 16th, 2006 10:06 AM
parameter value doesn't show in report collie BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 February 2nd, 2005 04:11 AM
How To Close One Form And Show Another form Israr VS.NET 2002/2003 1 December 7th, 2004 12:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.