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








