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.5 (July/August 2007)
Author: Will Leshner
Article Description: No description available.
Article Length (in bytes): 12,741
Starting Page Number: 38
RBD Number: 5512
Resource File(s):

Download Icon 5512.zip Updated: Monday, July 16, 2007 at 12:20 PM

Related Web Link(s):

http://www.rbgazette.com/

Known Limitations: None

Excerpt of article text...

Introduction

This is the fourth (and final) article 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 series of articles 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 the last article we implemented the ability to browse CashFlow's expense items. In this article we will implement the ability to create, edit, and delete items.

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.

Creating Expense Items

In order to create a new expense item in CashFlow's database, we need to prompt the user for the category, description, and amount of the item. We will use a dialog called EditItemDialog (because it will also be used to edit existing items) to do the prompting. I won't have the space in this article to implement the EditItemDialog. If you want to see how it is implemented, check out the CashFlow project.

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