New topic: 

Report Editor: support for multiple data sources please

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

       Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic         Author  
Message       brisance           Post subject: Report Editor: support for 
multiple data sources pleasePosted: Tue Dec 01, 2009 10:44 pm                   
     
Joined: Tue Oct 06, 2009 2:38 am
Posts: 25              It would be nice if report designer could support other 
data sources such as from Listboxes, Atom/RSS feeds without having to first 
process the data into a flat-file or SQLite database.

Edit: I'm such a noob. So it seems that it's possible if I implement the 
interface to do so. Anyone with a good tutorial on this?   
                            Top                npalardy           Post subject: 
Re: Report Editor: support for multiple data sources pleasePosted: Wed Dec 02, 
2009 1:44 pm                        
Joined: Sat Dec 24, 2005 8:18 pm
Posts: 5455
Location: Canada, Alberta, Near Red Deer              This is precisely the 
kind of thing the interface is for

There's an example in the examples folder of how to do this if you look at 
Examples > REporting > Gas Report
This implements the interface for data in a CSV file     
_________________
My web site Great White Software
RBLibrary.com REALbasic learning  
                            Top               brisance           Post subject: 
Re: Report Editor: support for multiple data sources pleasePosted: Wed Dec 02, 
2009 8:53 pm                        
Joined: Tue Oct 06, 2009 2:38 am
Posts: 25              This is what I'm trying to do, similar to Tommyknockers:

1) Populate a listbox based on a SQL query
2) Bind the data to a formatted report so that a Pushbutton prints it

The examples provided are good but it seems a little inefficient to write the 
data out to a CSV file (as the GasReports demo shows) or back to a database 
only to retrieve it again.

I was hoping someone could provide some advice as to how to implement the 
various class interfaces in order to achieve this, similar to p. 585-587 (p.587 
has the all-too-common out of bounds bug BTW) of the RB User's Guide. It seems 
pretty powerful but I couldn't find any documentation or example code in the 
Language Reference either.   
                            Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 3 posts ]     
-- 
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