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 18 in printed book and digital formats -- plus a one-year subscription (beginning with 19.1) 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

Issue 6.5

COLUMN

Swatter Part 4

A simple bug database

Issue: 6.5 (July/August 2008)
Author: Brad Rhine
Author Bio: Brad Rhine is the developer of Kodiak, a complete student information system written entirely in REALbasic. That's his day job. In his spare time, he writes shareware applications in REALbasic.
Article Description: No description available.
Article Length (in bytes): 9,301
Starting Page Number: 44
Article Number: 6516
Resource File(s):

Download Icon 6516.zip Updated: 2008-07-01 11:42:51

Related Link(s): None

Excerpt of article text...

For the last three issues, we've been working on Swatter, our simple bug database. So far, we've written the SQL code to create our databases, we've designed our interface, and we've started tying the interface to the database.

In this issue, we'll add the code that will allow us to add issues for our projects. So, without further ado, let's get to the code.

Listing Our Issues

In MainSwatterWindow, we're going to create a new method called PopulateIssues. The method will have the job of figuring out which project is selected in ProjectBox and then filling IssueBox with that project's issues. Its code will look like this.

Dim SQL As String

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