Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

report generator

Posted on 1997-11-10
2
Medium Priority
?
171 Views
Last Modified: 2011-09-20
I am looking for code for a simple report generator.
0
Comment
Question by:aktis
2 Comments
 
LVL 9

Accepted Solution

by:
cymbolic earned 200 total points
ID: 1440373
You know, many of King Arthur's knights of the Round Table were known to have died in search of the Holy Grail, too!
That's probably why you haven't gotten any answers or even comments yet, nobody wants to throw themselves on your spear as well as their own spears!

One of the most frustrating problems in Windows is the printing problem.  With all the proportional fonts and device context settings, this getting a simple report is far from simple, and the easy methods are practically useless (printform, for instance).    

I have found a reliable conrol that I would recommend to you that simplifies printing in Windows somewhat, and provides preview capability: VS View from Videosoft.  At least you can send it a line at a time, and it works, which is a start towards a simple reporting engine.

Can you tell me more about what you have in mind?  That is:

Are you thinking of traditional summary type reporting, similar to the old "greenbar" reports from mainframes?

Are you talking about printing simple forms, or forms and graphics with text flow?

And what data sources are you generally working with?

An approach I have used successfully in the past is to break the problem down into two components, which I like to call "StepnFetch" and "FoldnMutilate", after the late, great, now defunct IBM corporation.

In "StepnFetch" you collect your field/data items to be displayed, and in "FoldnMutilate", you merge the collected data with a template format for your output report.  This works directly in one pass for a form, and you can wrap the process in a simple driver to position and repeat the cycle for multiple master records, with your From template set for report lines, rather than a form image.  You then have only two small and simple engines.  Each report is defined by two control lists, sharing a common name.  Then when you run the report, you can start it using the report system name, and optionally a starting key to locate on your data of interest.  

If interested, let me know and I'll go into more detail.  

0
 
LVL 1

Author Comment

by:aktis
ID: 1440374
please give me more details
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

885 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