New topic: 

Reporting from a ListBox example

<http://forums.realsoftware.com/viewtopic.php?t=31411>

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       harriew           Post subject: Reporting from a ListBox 
examplePosted: Thu Dec 03, 2009 8:33 pm                        
Joined: Fri Dec 01, 2006 3:09 pm
Posts: 252
Location: Tennessee, USA              I played around today and now have a 
little project that produces a report from the contents of a Listbox. I can 
send a zip file to anyone interested which contains  the sample project, the 
data file used to fill the listbox and a file explaining how it was done. It 
also puts page numbers in the page footer section of the report in the format:
 - 1 -
etc.

The example only reports to a preview window; but, adding to it to go to the 
printer should be easy enough to do looking at the GasReport example since all 
you are really doing is pointing it to the printers graphic instead of the 
canvas graphic on the preview window.

The explanation of how it was done is just too long for a forum post.

E-mail me at:

 harriew at frontiernet dot net

and I will reply with the zip file attached. It was done with RB2009R5. Once 
you have that example it should be evident how you could adapt it to produce 
reports from an array of a data class, or most anything else. It is simply the 
appropriate modifications to the GasReport example that comes with RB.

Just be sure to run through the explanation file.   
                            Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to