Solved

Help with VB6 report in Report Designer

Posted on 2003-12-04
3
151 Views
Last Modified: 2010-05-03
I would like to construct a report that shows an employee's gas usage per vehicle.  Basically, I want to output a group for every employee, and ouput a row for every unique vehicle per employee.  The report would look something like this:

----------------------------------------------
[Unique Employee]
      [Unique Vehicle] (record has same employee ID)
            [Gas Usage]
            [Gas Usage]

      [Another Unique Vehicle] (record has same employee ID)
            [Gas Usage]
            [Gas Usage]
            [Gas Usage]


[Another Unique Employee]
      [Unique Vehicle] (record has same employee ID)
            [Gas Usage]
            [Gas Usage]

      [Another Unique Vehicle] (record has same employee ID)
            [Gas Usage]
            [Gas Usage]
            [Gas Usage]

----------------------------------------------

I'm having problems doing this "double group" (grouping on employee and then grouping on vehicle within employee) with the data environment and report designer.  I think I might need to use a child command in the data environment but I'm not sure. Can anyone help me out on this?  I need to do this report tonight!

Thanks!
0
Comment
Question by:Krash_io
[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
3 Comments
 
LVL 3

Accepted Solution

by:
TimW1 earned 500 total points
ID: 9903050
I would suggest using Active Reports.  Goto www.datadynamics.com
Active reports is an add on to VB and uses the report desginer, but is excellent for grouping and layout.  You can use bound controls or populate from code or recordsets.  It will meet your requirements easily.  There are also good example projects to help learn with.  I think they may have a demo version, I'm not sure.  

Tim
0
 
LVL 29

Expert Comment

by:leonstryker
ID: 10267556
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered TimW1
 
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

leonstryker
EE Cleanup Volunteer
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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

735 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