Solved

VB DataReport object tips and instructions

Posted on 2002-03-08
4
134 Views
Last Modified: 2010-05-02
Hello everyone,

I'm using the VB6 DataReport object with success in my database application for a while now but I need to add some more advanced features to my reports.  I have all the basics down already, suchas passing criteria to the Command SQL string from a form, calculating fields etc.  What I'd like to learn to add is:

1 - User selectable sort options from a form
2 - Printing the users criteria selections at the top of the report (i.e., date ranges, tec)
3 - Showing report generation progress with a progress bar

and so on.

Can anyone suggest a book I can pick up or a website I can reference where this type of stuff is expanded on?  I have a lot of experience with Access' report engine and some experience with Crystal but I'd like to keep it all native to VB.

Thanks for any suggestions, even partial suggestions, in advance.

Raul  
0
Comment
Question by:rlrubio
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
bobbit31 earned 100 total points
ID: 6851773
1: just change the query of the report based on the selections on the form?

2: put a label on your report and you can set the caption of it by doing something like

rpt.sections("section1").controls("label1").caption = "blah"

before showing the report
0
 

Author Comment

by:rlrubio
ID: 6881415
Well, I'll give it a couple more days to see if anyone else cares to respond.  Otherwise bobbit31 gets the points for at least offering some info.
0
 
LVL 3

Expert Comment

by:Bahnass
ID: 6882056
CAN U LOOK on PAQ
(QUESTIONS STORED HERE IN EE)
0
 

Author Comment

by:rlrubio
ID: 6903591
You get points for at least giving a partial answer and trying to help.  Thank you.
0

Featured Post

Industry Leaders: 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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

685 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