Solved

VB DataReport object tips and instructions

Posted on 2002-03-08
4
131 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

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…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…

770 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