Visual Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 18011
Number of posts: 55384

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Access 2003 and VB6 Posted by isqureshi66 on 25 Feb 2012 at 3:27 AM
We receive a lot of products and perform some tests on these products. We generate report about lot of products. Report has two parts master and detail. Detail contains serial_no of products, quantity and result. Products can have results that are in table RESULTS_MT.
Requirement:
We need to count the TEST_REPORT_NO from table TEST_REPORTS_MT group by TEST_REPORT_DET.Result
There are 10 reports in total in TEST_REPORTS_MT table and count of them is as follows.
Qualified Fail R&D In Process Qualified & Fail Mix
3 2 2 1 2

The query should be simple and do not contain UNION as the query will be imported in data environment of VB6 as a view and will be used as data source of report.
My query named ResultSet1 outputs 17 reports whereas total 10 reports are present because it counts some record again. That’s the problem please help.

Attachment: Database n Requirements.zip (26413 Bytes | downloaded 46 times)



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.