Reports generation in VB6

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jun 2003
Posts: 313
Reputation: red_evolve is on a distinguished road 
Solved Threads: 0
red_evolve's Avatar
red_evolve red_evolve is offline Offline
Posting Whiz

Reports generation in VB6

 
0
  #1
Jul 28th, 2004
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.
"Study the past if you would define the future" - Confucius
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 200
Reputation: mnemtsas is an unknown quantity at this point 
Solved Threads: 1
mnemtsas's Avatar
mnemtsas mnemtsas is offline Offline
Junior Poster

Re: Reports generation in VB6

 
0
  #2
Jul 28th, 2004
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.
Reply With Quote Quick reply to this message  
Join Date: Jun 2003
Posts: 313
Reputation: red_evolve is on a distinguished road 
Solved Threads: 0
red_evolve's Avatar
red_evolve red_evolve is offline Offline
Posting Whiz

Re: Reports generation in VB6

 
0
  #3
Jul 28th, 2004
Greetings.
OK, thanks for your opinion.
HTML files? Umm, how would you do that?
Call the MS Internet Control?
"Study the past if you would define the future" - Confucius
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 200
Reputation: mnemtsas is an unknown quantity at this point 
Solved Threads: 1
mnemtsas's Avatar
mnemtsas mnemtsas is offline Offline
Junior Poster

Re: Reports generation in VB6

 
0
  #4
Jul 28th, 2004
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC