Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 14 in printed book and digital formats -- plus a one-year subscription so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

PDF:

Feature

Reporting with REALStudio

Get started with the report writer.

Issue: 10.1 (November/December 2011)
Author: JC Cruz
Article Description: No description available.
Article Length (in bytes): 19,679
Starting Page Number: 47
RBD Number: 10008
Resource File(s):

Download Icon 10008.zip Updated: Tuesday, November 1, 2011 at 2:18 PM

Related Link(s): None
Known Limitations: None

Excerpt of article text...

The report writer feature is a recent addition to the REALStudio environment. So today, we take a good look at this feature and learn how it benefits our project. We will study how to lay out a report form and how to define the model for that form. Then we will modify an existing REALStudio project, giving it the ability to emit a simple report.

Need To Report

With earlier versions of REALStudio, we use the Graphics object to layout and print user data according to a pre-defined standard. Unfortunately, this approach is both costly and tedious. It makes multiple pages of output difficult to manage, and it is easily affected by changes in output resolution. Furthermore, changing the print layout often requires changing the print code as well.

Enter the report writer

So to address the above need, REALStudio 2010 comes with a report writer feature. With this feature, we can design a report form with the same ease as laying out a user interface. We can map each form widget to a record field, thus reduce the code needed to use the form. We can add graphics to the form, as well as date/time stamps and page numbers. Plus, we can have two or more distinct report forms using the same data source.

...End of Excerpt. Please purchase the magazine to read the full article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com