Solved

VB DataReport object tips and instructions

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
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…
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…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now