Solved

Using VB Reports without Data Environment

Posted on 2002-05-07
4
155 Views
Last Modified: 2012-06-27
I have a relational database that has 3 tables. The tables are as follows:

1. Quotation
============
QID
Date
Customer

2. Repairs
==========
RID
Date
Amount
QID

3. Fitments
===========
FID
Date
Amount
QID

The primary keys of the tables are QID, RID, and FID. QID in tables 2 and 3 is a foreign key to participate in the relationship with table 1.

I need to produce a report that shows, for each quotation: All the repairs and fitments that were done using vb code. I don't want to use the Data Environment/Designer to produce the report. The report should show the Quotation details followed by a grouped list of all repairs and a grouped list of all fitments, all on one page. It should compute the sum of all repairs and all fitments and put the total at the bottom of the report.
0
Comment
Question by:bmatumbura
4 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 6993584
looks like homework.
0
 
LVL 6

Expert Comment

by:OlegP
ID: 6993602
Use Excel-object
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 100 total points
ID: 6994045
In order to design a report with VB's Data Reports you must use the Data Environment.  Once it is designed, you can then remove the Data Environment and bind the report directly to the recordset.

Anthony
0
 
LVL 11

Author Comment

by:bmatumbura
ID: 7008388
Sorry for the late response: thought more solutions might come.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question