Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 2nd, 2007, 04:35 AM
Authorized User
 
Join Date: Mar 2006
Location: , , .
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!
Reply With Quote
  #2 (permalink)  
Old August 6th, 2007, 11:21 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 09:03 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.