Solved

report generator

Posted on 1997-11-10
2
169 Views
Last Modified: 2011-09-20
I am looking for code for a simple report generator.
0
Comment
Question by:aktis
[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 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

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…
Suggested Courses
Course of the Month8 days, 18 hours left to enroll

617 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