Solved

Using VB Reports without Data Environment

Posted on 2002-05-07
4
159 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

707 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