Solved

report generator

Posted on 1997-11-10
2
167 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 100 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…

820 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