Solved

prints

Posted on 1998-10-17
5
163 Views
Last Modified: 2010-04-30
I have a big amount of data to retrieve from one or two databases and print them in a matrix printer.
Should I make reports in crystal reports or make it in a function in VB using the Printer.print....intructions?
Thanks
0
Comment
Question by:asimoes
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:traygreen
ID: 1440352
Depends on what you want out fof the data.  If it is just a quick and dirty dump user the printer object.  If there is a good chance the format of the output needs to change and you don't want to have to read a layout file to print or recompile, then use Crystal Reports(as then anyone can make the changes)
0
 

Accepted Solution

by:
pbirkbeck earned 50 total points
ID: 1440353
If you have a large amount of data from multiple data sources and need to create a report here is what I would do:

Crystal is notoriously bad and slow for doing anything but the easiest of joins in the same database, let alone across data sources.  Create a table in one of the databases.  If this is a
report that you run all the time, just create it and leave it there.  If you want to, you can create the table on the fly in your source but it is much easier if it is just there already.  In your program, write the code that will:
   a) delete the contents of the table
   b) select the data you need out of as many disparate data
      sources as required
   c) insert the data into the report table
   d) use Crystal to report off of that one table

I think you'll find that you will have much more control over your reported data that way.

Paul
0
 

Author Comment

by:asimoes
ID: 1440354
Well.This is the situation:
Every time I report is printed I need to save in a table some data saying that that report come out.
Can I control this with the Crystal Reports or it's better to do it with the printer object?
Thanks
0
 

Expert Comment

by:pbirkbeck
ID: 1440355
Crystal or the printer object won't save any data to a table, you have to do this with plain old VB and just show a message box or something.  Maybe I don't understand the problem fully.  Presumably the user clicks a button or something in your program to force the report to come out.  At this time you would save something to the database to indicate it has been produced.
0
 

Author Comment

by:asimoes
ID: 1440356
Well that´s the way it is, so What should I use printer object or Crystal Reports?
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

710 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