Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Form....To File...ASCII
Message
From
16/02/2005 11:03:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
16/02/2005 10:53:48
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 6 SP5
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00987307
Message ID:
00987465
Views:
56
In my class, I also started using ? and ?? commands - but then I wrote a wrapper function for those two, because I wanted to count columns and lines. Now, I invoke oReport.Print() or oReport.PrintLine(); these methods will call the ? and ?? commands, respectively, but they will also increment line and column counters - and start a new page if necessary.

>Hi Hilmar :)
>
>>That one looks interesting. How is the allignment done, with text reports?
>>
>
>Object runs more less the same (if not exactly the same) as FRX.
>And in detail band you simply issue ?/?? commands writing output
>just as you wld do back in DOS days in coded reports.
>All rules and usual ways for coded reports are aplicable here as well :)
>
>? cExp1,cExp2,cExp3 ...
>?? cExp1 at ... picture ....
>
>etc.
>
>It is recursive with unlimited numeber of groups.
>
>I invented it originaly (2002) for my excel reporting (see Rep2Excel)
>to cover missing frx functionality and organize my excel reporting.
>
>So over there I am using few wrapper calls (my own library), to write excel cells in a row, then advance row, then write again and so on & on ...
>Just like coded reports on matrix printers back in DOS days.
>
>?
>?? blah,blah :)
>
>But then, I realized that like this you can report to anything provided that you have means (library or set of calls) for doing so.
>
>Power of whole concept can be best realized when you look at PDF format,
>(PDF is implemented using demo copy of XFRX/PDFL )
>nothing is imposible! No Limits - not so ever!
>
>I realy like concept but it requires coding! No free frx lunch :)
>But it is fully OOP!
>Hence, if we had library for writing directly to laser printers !
>
>Let me put it this way :)
>If you had library for writing on cabbage or tobaco sheets (leaves?)
>I could easily write subclass for reporting to .CBG .TOB formats :)))
>
>I wld of course prefer API/GDI/GDI+ wrapper calls for directly writing
>and controling laser printers, but seems that this kind of
>thinking is 'demode' and everybody nowadays is fascinated with customizing listeners.
>
>Rgds++
>Sergio
>
>
>
>>Because, that was the main reason that I wrote my own version of the text report (download #9991): that it was difficult to allign objects correctly, with REPORT...ASCII. My own text report, however, seems to have less options for output than yours.
>>
>>>Hi Bruce :)
>>>You can have look at my CodeRep here in downloads,
>>>Among others (PDF,XLS,HTML) has also plain TXT output subclass.
>>>
>>>It is not report converter, bat class objects for writing OOP reports in code.
>>>Structure & Logic (Dataflow) are almost the same as frx with unlimited number of groups, but here instead of placing rep. exp. in frx bands you are placing code in apropriate class methods
>>>
>>>ReportTitle
>>>
>>>PageHeader
>>>
>>>Header1
>>> Header2
>>> .
>>> Detail
>>> .
>>> Footer2
>>>Footer1
>>>
>>>PageFooter
>>>
>>>ReportSummary
>>>
>>>Download includes full source and functional
>>>samples made on Tastrade dbc.
>>>
>>>Rgds++
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform