Special

Clearance Sale!

We've been publishing for over five years now and it's time to clear out our inventory of back issues, so we're slashing prices!

RBD Magazines

Check out this amazing clearance sale of all our past issues. Missing some issues? This is a great time to complete your RBD collection. Save up to 40% off the regular price of our printed back issue packages. These prices are only good until the end of the year May 2008 and supplies are limited, so place your order today.

Article Preview


Buy Now

Print:
PDF:

From Scratch

CashFlow

Building a simple database application in REALbasic.

Issue: 5.3 (March/April 2007)
Author: Will Leshner
Article Description: No description available.
Article Length (in bytes): 10,168
Starting Page Number: 42
RBD Number: 5316
Resource File(s):

Download Icon 5316.sit Updated: Thursday, March 15, 2007 at 9:03 AM
Download Icon 5316.zip Updated: Thursday, March 15, 2007 at 9:03 AM

Related Web Link(s):

http://www.rbgazette.com/

Known Limitations: None

Excerpt of article text...

Introduction

This is the third in a series of articles about building CashFlow, a database application for tracking income and expenses. If you were here last time, then you know that the primary goal for this article is to introduce readers to REALbasic's database classes in general, and to the REAL SQL Database in particular. A secondary goal is the creation of a useful application.

In today's article we will be looking at how to query the CashFlow database for expense and income items, how to display those items in CashFlow's main ListBox, and how to filter the query by category, type, and date.

I recommend that you refer often to the REALbasic project for CashFlow as you read this article. I have taken the liberty of filling out a good deal more of CashFlow's functionality than we will be talking about in this article. If you want to see where we are headed, feel free to explore the code we don't talk about here.

Querying The Database

In the previous article we learned how to create a new CashFlow database and how to initialize it in order to start working with it. The next step is to implement the ability to populate CashFlow's ItemsListBox with expense and income items from the database. The code we will be talking about is located in MainWindow's RepopulateItemsListBox. You might want to navigate to that method first in CashFlow's REALbasic project before reading any more of this article.

...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