943,962 Members | Top Members by Rank

Ad:
Jul 28th, 2004
0

Reports generation in VB6

Expand Post »
Greetings.
I'm sort of on the en-route to project completion except for some small problems here and there.
One more major step is report generation.
I'm totally new in this area. Nothing in the old threads are related except for one: Vb report generation but this thread is still left unanswered

Are DataReport & Crystal Report 2 different things?
Which is easier to use, or more efficient?
Is it possible if I would like to generate the report based on data stored inside a listbox instead of taking it from the database?
Meaning, I would just write some sqls, get the data that I need from different tables, and store them parallelly in a few listboxes. And then import the data from these listboxes into the report label control. Is it possible to do this?

Thanks.
Similar Threads
Reputation Points: 53
Solved Threads: 1
Posting Whiz
red_evolve is offline Offline
313 posts
since Jun 2003
Jul 28th, 2004
0

Re: Reports generation in VB6

A huge achilles heel of VB6 is the reporting. In a word (well two actually) it sucks....hard.

Personally I generate all my report data myself using SQL and sorting and drop it into Excel or HTML files. I think (?) an old version of Crystal is included with some VB6 installs so you could use that. I know nothing about it so don't ask me how.
Reputation Points: 16
Solved Threads: 1
Posting Whiz in Training
mnemtsas is offline Offline
200 posts
since Jul 2004
Jul 28th, 2004
0

Re: Reports generation in VB6

Greetings.
OK, thanks for your opinion.
HTML files? Umm, how would you do that?
Call the MS Internet Control?
Reputation Points: 53
Solved Threads: 1
Posting Whiz
red_evolve is offline Offline
313 posts
since Jun 2003
Jul 28th, 2004
0

Re: Reports generation in VB6

Quote originally posted by red_evolve ...
Greetings.
OK, thanks for your opinion.
HTML files? Umm, how would you do that?
Call the MS Internet Control?
By writing text to html files.....

Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. write #intFile,"<HTML><HEAD><TITLE>Report File</TITLE></HEAD>"
  2. .
  3. .
  4. .

Then opening the files using ShellExecute.
Reputation Points: 16
Solved Threads: 1
Posting Whiz in Training
mnemtsas is offline Offline
200 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: "Error in linking List box with the VB6.0 database"
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Is their a way to earn money from freelance VB coding on the net





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC